-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Error: Failure gastby new project (sharp) #11101
Comments
Probably related to nodejs/node-gyp#695 (comment)
Try setting |
@sidharthachatterjee New error, OMG this damn corporate pc:
|
I am getting the same error. I am on a Mac error /Users/alex/code/ciccio/node_modules/sharp: Command failed. Error: Cannot find module 'graceful-fs' error Command failed: yarnpkg Error: Command failed: yarnpkg
|
@AlexLich It looks like the first instance was using npm and the second is using yarn Can you uninstall |
Yes |
Could you try to run this on a pc without the corporate firewalls/antiviruses? To see if it works. It seems like an issue with downloading packages & installing. I'm going to close this one because it looks more or less like a duplicate of #11026 please move the discussion to that thread. Thank you for understanding. |
you should download the libvips tar package manually, then put it into a folder named “_libvips”, which you should found it in global cache folder. Then you can try another install ,and it works! |
Configure PC:
$ npm config list -l
ERROR:
I work through a proxy as you can see from the configuration npm, did the documentation https://www.gatsbyjs.org/docs/gatsby-on-windows did not help
The text was updated successfully, but these errors were encountered: