-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
Can't build because node-gyp
missing
#155
Comments
Also breaks the build of deasync (for parcel-bundler) on gitlab CI in a nodejs 17 docker image. Please follow up on this issue. I thought adding this to yarnrc would be a viable workaround, since the error explains it just boils down to node-gyp missing, but nothing changes: packageExtensions:
deasync@*:
peerDependencies:
node-gyp: latest (I also tried with |
FWIW I've managed to install my dependencies on alpine v3.16 and node v18 after running the following: sudo apk add --no-cache python3 g++ I doubt that installing build essentials is, or should be, necessary, but I'm totally not a frontend dev so just wanted to share my observation. |
See this for a solution and workaround: |
When installing this package (
[email protected]
) using Yarn v2 on Mac OS X with Node.js 16.13.0 I get this error:To fix this, you should probably list
node-gyp
in yourpeerDependencies
.The text was updated successfully, but these errors were encountered: