-
Notifications
You must be signed in to change notification settings - Fork 50
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
nw-gyp failed with node 19.0.1 #155
Comments
node 19.0.0 has been changed to make process.config read only #43627 and nw-gyp uses process.config and change it to create config.gypi in lib/configure.js You need to change lib/configure.js file, line 118 to clone process.config object After that you can compile your module with nw-gyp |
Thank you @secribeiro it work 👍 |
Hi @secribeiro @onemen , i tried to update |
Try node 20 |
I am not using Yarn, so i can not test it, but try to modify |
Is this fixed by #160 ? |
When I'm running node 19.0.1 on windows 11 (nw-gyp -v v3.6.6)
The command
nw-gyp configure --release --target=0.70.1 --arch=x64 --python="c:/python2.7/python.exe"
failed with error:gyp: Undefined variable standalone_static_library in binding.gyp while trying to load binding.gyp
same result when running
nw-gyp rebuild
.When i run the same command with node 18.12.1 it work.
binding.gyp:
console output:
The text was updated successfully, but these errors were encountered: