Christian Clauss

Results 1446 comments of Christian Clauss

> npm ERR! gyp info using [email protected] Please upgrade to 8.4. https://github.com/nodejs/node-gyp/releases

https://github.com/nodejs/node-gyp/blob/master/docs/Updating-npm-bundled-node-gyp.md

@heartacker The log output above says: > gyp info using [email protected] which is [the current release](https://github.com/nodejs/node-gyp/releases) so no further upgrade is needed. Is there a `VCINSTALLDIR` value printed when you...

Cool. In cmd, type `SET VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\` like they do in https://stackoverflow.com/questions/1679560/using-visual-studio-command-prompt-tools-everywhere

In `cmd`, did you do [`npm config set msvs_version 2022`](https://github.com/nodejs/node-gyp#on-windows) ?

Is there a way to fix this in code that does not require rebooting the shell with a nonstandard config?

> msvs_version = "2017" node_gyp = "C:\Users\manju\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js" python = "c:\Python\27\python.exe" `npm config set msvs_version 2022` Python 3.10.4 is found correctly despite the out-of-date `python`setting. @nodejs/platform-windows I really dislike the following...

Try running `npm config set msvs_version 2022` before your other commands.