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
This may be a more appropriate issue for the NPM repo, or perhaps NW.js... But I can't for the life of me get my NW.js project to build using any NW.js/Node combination that uses Node versions beyond Node 14 - it looks like nw-gyp is not running at all, instead the build process always tries to use node-gyp. It then explodes when node-gyp misinterprets the npm_config_target environment variable and starts trying to grab Node [whichever NW.js version was targeted here].
As soon as I switch back down to Node 14.x (say, 14.3.0, or 14.21.2) and try again, everything works perfectly, builds as expected, and my project is able to run. Interestingly, this is true up to NW.js 0.50.1, despite that theoretically wanting Node 15.3.0 for the build environment (if I actually try to use 15.3.0, the aforementioned issue with nw-gyp occurs).
My project does have various dependencies that require nw-gyp compilation (shown below, the package.json dependencies that are valid for Node up to 14.21.2 - the last version before Node 15):
This may be a more appropriate issue for the NPM repo, or perhaps NW.js... But I can't for the life of me get my NW.js project to build using any NW.js/Node combination that uses Node versions beyond Node 14 - it looks like
nw-gyp
is not running at all, instead the build process always tries to usenode-gyp
. It then explodes whennode-gyp
misinterprets thenpm_config_target
environment variable and starts trying to grab Node [whichever NW.js version was targeted here].As soon as I switch back down to Node 14.x (say, 14.3.0, or 14.21.2) and try again, everything works perfectly, builds as expected, and my project is able to run. Interestingly, this is true up to NW.js 0.50.1, despite that theoretically wanting Node 15.3.0 for the build environment (if I actually try to use 15.3.0, the aforementioned issue with
nw-gyp
occurs).My project does have various dependencies that require
nw-gyp
compilation (shown below, thepackage.json
dependencies that are valid for Node up to 14.21.2 - the last version before Node 15):The build batchfile, at least the relevant parts, is essentially:
The text was updated successfully, but these errors were encountered: