New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Illegal operation on a directory, open #7148
Comments
Can you try sudo when running |
According to this stack that error happens when npm tries to use a file as a directory. Also this breaks last step of installation with npx create app |
I did a bit more research and I found that this code is creating directories with file names. So once it attempts to write a file of same name it gets directory instead of file. https://github.com/medusajs/medusa-starter-default/blob/feat/v2/build.mjs#L60 |
This is how I fixed it to work on windows I didn't test it on Linux but it should work:
Pull request: |
Closing this issue as it's fixed by @dmiric 's PR |
I'm trying to install Medusa v2 on Windows 10.
I get this error when i run npm run build:
The text was updated successfully, but these errors were encountered: