node-gyp icon indicating copy to clipboard operation
node-gyp copied to clipboard

node-gyp crashing when using node 20.9.0 and works on 18.17.1

Open galpodlipnik1 opened this issue 1 year ago • 2 comments

when running npm i diskusage

npm ERR! gyp ERR! System Windows_NT 10.0.22621
npm ERR! gyp ERR! command C:\\Program Files\\nodejs\\node.exe C:\\Users\\Uporabnik\\AppData\\Roaming\\nvm\\v20.9.0\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js rebuild
npm ERR! gyp ERR! cwd C:\Users\Uporabnik\Desktop\AG Studio\Admin_Dashboard\server\node_modules\diskusage
npm ERR! gyp ERR! node -v v20.9.0
npm ERR! gyp ERR! node-gyp -v v9.4.0
npm ERR! gyp ERR! not ok

galpodlipnik1 avatar Nov 03 '23 18:11 galpodlipnik1

Is that the full error log or just a portion of it? Please use: ``` full error log ```

cclauss avatar Nov 04 '23 01:11 cclauss

@galpodlipnik1 update npm to at least 10.2.2 or such ... this is https://github.com/nodejs/node-gyp/issues/2869

Apollon77 avatar Nov 06 '23 07:11 Apollon77

This issue seems no longer relevant as it has been stale for some time. If there are no objections, I will close this issue next Mon-Tue. In case something similar happens again please open a new issue.

StefanStojanovic avatar Apr 18 '24 14:04 StefanStojanovic