#Yarn Build fails

14 messages · Page 1 of 1 (latest)

elfin coral
#

Hey everyone, I'm using node v16.20.2 and yarn v3.2.1.

I ran yarn install. Then when running yarn build the build process fails. This issue is stated in the Issue https://github.com/medusajs/medusa/issues/5308. I'm therefore wondering, what versions are you running on to get that working?

GitHub

Building blocks for digital commerce. Contribute to medusajs/medusa development by creating an account on GitHub.

elfin coral
#

Is there for real no way to get this to work on windows???

#

Again... This is the error I get:

#

There was some more output of the build process before and after this (not related to the error).

#

Please... Is anyone able to get this up and running? Otherwise it's nearly impossible to contribute to this project obviously.

valid condor
#

Hey Micah, I respons you in another thread, to solve this you need linux environment. Docker with node:lts and building with the image will work, but you won't find a way to use those packages. they are not the same one as their NPM ones

#

To provide more context, this issue is happening because of file permissions, OAS generator most probably compatible with linux file system and directory structure instead of folders like in Windows

elfin coral
#

Hey Onder, saw your message. Thanks alot for the response. Is the OAS generator built by medusa or is it a third-party package? I mean... Just referring everyone that he/she has to use linux can't be the solution in my opinion.

valid condor
#

it uses some kind of ref parser in the background but it's a medusa package

#

and that ref parser is actually the package that throws the error

#

Just referring everyone that he/she has to use linux can't be the solution in my opinion.

that was my question hoping to get some answers 🙂

elfin coral
#

You mean the @readme/json-schema-ref-parser that's throwing the error, right?

valid condor
#

Yep thats the one