You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 7, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 7, 2026. It is now read-only.
Update dependencies: node-gyp stills using v6 it is currently in v8 #286
Replace Travis (and Appveyor) with a GitHub Actions workflow, because our CI is currently broken and we'd like to test all of this. Also replace the badges in the README.
Bump node-gyp, and also:
Go over the programmatic internals of node-gyp that we use here, which are not expected to be documented in the changelog of node-gyp
Update engines.node in package.json according to the minimum version supported by node-gyp
Update the Node.js version matrix in the GItHub Actions workflow. We may want to drop Node.js 10 at this time.
node-gyp 6 doesn't work with Python 3.11 nodejs/node-gyp#2219 and throws this error if you try to build something for Electron 20+: #error "It looks like you are building this native module without using the right config.gypi. This normally means that you need to update electron-rebuild (>=3.2.8) or node-gyp (>=8.4.0) if you're building modules directly."
I was able update the node-gyp version that prebuild uses in my project by running
Activity
zdm commentedon Feb 23, 2022
When you will update dependencies?
It NOT works with visual studio 2022 on github actions.
zdm commentedon Feb 23, 2022
All you need to do is to change
"node-gyp": "^6.0.1"to"node-gyp": "^8.0.0"inpackage.json.API interface not changed and it just works.
vweevers commentedon Feb 23, 2022
Two separate PRs are welcome:
node-gyp, and also:node-gypthat we use here, which are not expected to be documented in the changelog ofnode-gypengines.nodeinpackage.jsonaccording to the minimum version supported bynode-gypverhovsky commentedon Mar 8, 2023
node-gyp6 doesn't work with Python 3.11 nodejs/node-gyp#2219 and throws this error if you try to build something for Electron 20+:#error "It looks like you are building this native module without using the right config.gypi. This normally means that you need to update electron-rebuild (>=3.2.8) or node-gyp (>=8.4.0) if you're building modules directly."I was able update the node-gyp version that prebuild uses in my project by running
then adding this to my package.json
You might also have to add
to your binding.gyp.
overridesis available starting with npm 8.3, which was released with Node 16.lovell commentedon Jul 9, 2023
PR for part 2 at #304
lovell commentedon Sep 6, 2023
prebuild v12.0.0 now available with dependency on node-gyp v9.4.0
prebuild/package.json
Line 34 in 1398629