Closed ariffammobox closed 1 month ago
Hi @ariffammobox we've run into some issues with optional dependencies and node-pre-gyp. can you please send the output of npm i --verbose
?
Here's the output.
npm verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
npm info using npm@10.8.2
npm info using node@v22.8.0
npm verbose title npm i
npm verbose argv "i" "--loglevel" "verbose"
npm verbose logfile logs-max:10 dir:C:\Windows\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2024-09-23T02_55_22_750Z-
npm verbose logfile C:\Windows\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2024-09-23T02_55_22_750Z-debug-0.log
npm info run node-dump-syms@3.0.10 install node_modules/node-dump-syms npx @mapbox/node-pre-gyp install --fallback-to-build=false || npm run build:client
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 336ms
npm info run node-dump-syms@3.0.10 install { code: 4294963238, signal: null }
npm verbose reify failed optional dependency C:\BuildAgent\work\83270cf51356ee9c\symbol-upload\node_modules\node-dump-syms
up to date, audited 377 packages in 3s
84 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
npm verbose cwd C:\BuildAgent\work\83270cf51356ee9c\symbol-upload
npm verbose os Windows_NT 10.0.19045
npm verbose node v22.8.0
npm verbose npm v10.8.2
npm verbose exit 0
npm info ok
Here's the output.
npm verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js npm info using npm@10.8.2 npm info using node@v22.8.0 npm verbose title npm i npm verbose argv "i" "--loglevel" "verbose" npm verbose logfile logs-max:10 dir:C:\Windows\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2024-09-23T02_55_22_750Z- npm verbose logfile C:\Windows\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2024-09-23T02_55_22_750Z-debug-0.log npm info run node-dump-syms@3.0.10 install node_modules/node-dump-syms npx @mapbox/node-pre-gyp install --fallback-to-build=false || npm run build:client npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 336ms npm info run node-dump-syms@3.0.10 install { code: 4294963238, signal: null } npm verbose reify failed optional dependency C:\BuildAgent\work\83270cf51356ee9c\symbol-upload\node_modules\node-dump-syms up to date, audited 377 packages in 3s 84 packages are looking for funding run `npm fund` for details found 0 vulnerabilities npm verbose cwd C:\BuildAgent\work\83270cf51356ee9c\symbol-upload npm verbose os Windows_NT 10.0.19045 npm verbose node v22.8.0 npm verbose npm v10.8.2 npm verbose exit 0 npm info ok
We saw a similar issue with Teamcity. Try going into your agent setting and remove the build caches and do a clean build for this project. If that doesn't work, try installing node-dump-syms separately and before installing everything else.
Clean build doesn't work, but a complete re-installation of nodejs itself seems to fix this issue. Thanks!
We're receiving this error when running
npm run sea:windows
afternpm ci
.Using node v22.8.0 with symbol-upload at v10.1.1. Works fine on v10.0.1