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 }}
Repository navigation
node-pre-gyp support in the same way than prebuild is supported #367
@MarshallOfSound@malept pinging you folks as you are the most recent contributors, sorry to bother with this, but after looking for a similar solution I found this PR which was not accepted: #170.
The trick is that to make it use the correct prebuilt binary some arguments / environment variables must be passed with the npm install / yarn install command, like:
If those flags are not passed the prebuilt binary for the current Node.js version is going to be downloaded, and then later when electron-rebuild is called the addon is built from source, instead of trying to use the prebuilt binary for Electron.
There is no timeline. node-pre-gyp is complicated because there are multiple modules which implement it (the deprecated node-pre-gyp, the replacement @mapbox/node-pre-gyp, and any forks), which may or may not have different behavior.
get it. but electron-rebuild has node-gyp rebuild error when i use
node-canvas .please check
Automattic/node-canvas#913
Mark Lee ***@***.***> 于2021年9月14日周二 下午10:39写道:
Activity
liSong5713 commentedon Sep 14, 2021
When publish this release for support node-pre-gyp?
malept commentedon Sep 14, 2021
There is no timeline.
node-pre-gypis complicated because there are multiple modules which implement it (the deprecatednode-pre-gyp, the replacement@mapbox/node-pre-gyp, and any forks), which may or may not have different behavior.liSong5713 commentedon Sep 14, 2021
gpetrov commentedon Oct 3, 2022
the
@mapbox/node-pre-gypis the new official node-pre-gyp, so can we make it compatible with it? @maleptcontinuous-auth commentedon Aug 21, 2023
🎉 This issue has been resolved in version 3.3.0 🎉
The release is available on:
Your semantic-release bot 📦🚀