-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Failed to create project on OSX #204
Comments
Looks like it might be an issue with an incompatibility between a dependency (sharp, an image processing lib that AssetServerPlugin uses) and node v13. See lovell/sharp#1909 In the next release I'll update the version of sharp and see if this fixes. For now please use node v12.x if possible. |
Actually I also can't install vendure, I tried several weeks ago, I changed different versions of nodejs, package managers, but the error keeps coming up. Now I wanted to look at vendure again, but it's the same again. There is no useful information in the logs With npx @vendure/create vendure --log-level info
|
Hi @JustDenP, sorry to hear you're having trouble installing! Can you tell me what OS you are on? And also try with |
@michaelbromley I'm using MacOs 13 m1 |
OK. I wonder whether you have a bad version cached or something. Could you try:
and failing that, you can try manually clearing the npm cache as described here: https://stackoverflow.com/a/72151771/772859 |
I cleared the all the npx cache, there is still an error at the point "installing dependencies". Without the cache a new big log came out, but I still do not see in it the cause of the error unfortunately
|
Fortunately the problem was resolved after changing the version of node to 18.13, for some reason all previous versions (18.12.1, 16, 14 etc) gave the same error, even after a complete reinstallation of node on the computer |
@JustDenP Glad to hear you eventually resolved the issue! |
By nodejs 13.1.0 on OSX, type
npx @vendure/create my-app-2 --log-level info
The text was updated successfully, but these errors were encountered: