-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
npm install bumps into gyp build error #1804
Comments
These types of errors, pointing to The breaking package is sharp, https://github.com/lovell/sharp, it looks like its most recent versions have Node 12 support: https://github.com/lovell/sharp/blob/cfa4f7d45c0dc4c098bb6e4a665720ee373af830/.travis.yml#L26 The latest version of sharp is 0.22.1, it looks like you are using 0.20.8. If this is a dependency of your project, update to the latest version. If this package is a dependency of dependency (of a ...) in your project then you'll need to chase down the author of the dependency that's using it and encourage them to update. Or, your other option is to downgrade your version of Node to find one that works. Node 10 might be safer. |
Just found theese lines in "/usr/include/node/v8-local-handle.h#328":
This error also occurs when trying to build C++ module using gyp. It seems, that v8::Handle can just be replaced with Local<TYPENAME> declaration |
Node Version:
node: v12.5.0
npm: 6.9.2
Platform:
Linux KHTeh-T490 5.0.0-20-generic #21-Ubuntu SMP Mon Jun 24 09:32:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Compiler:
Verbose output (from npm or node-gyp):
The text was updated successfully, but these errors were encountered: