nodejs / node-gyp

Node.js native addon build tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

galpodlipnik1 opened this issue · 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

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

@galpodlipnik1 update npm to at least 10.2.2 or such ... this is #2869

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.