Closed db-developer closed 1 year ago
PS D:\\
Cannot Upgrade to VS2022 probably because of: node-gyp current version is 9.3.0
Have you tried a fresh npm install of GPU.js lately? Is it just my environment? Because this was with a very clean and up-to-date setup.
Powershell version: 7.3.1 path: C:\WINDOWS\System32;C:\Program Files\Git\cmd;C:\Program Files\Python\3.11;<project path>\node_modules\.bin;C:\Development\nodejs\node-v19.3.0-win-x64 python version: 3.11.1 nodejs version: v19.3.0 npm version: 9.2.0 PS <project path>> install npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
added 757 packages, and audited 758 packages in 3m
76 packages are looking for funding
run npm fund
for details
found 0 vulnerabilities
What is wrong?
fails: npm install gpu.js --save-dev
How do we replicate the issue?
Powershell version: 7.2.6 path: C:\WINDOWS\System32;C:\Program Files\Git\cmd;C:\Program Files\Python\2.7;D:\\\node_modules.bin;C:\Development\nodejs\node-v19.0.0-win-x64
nodejs version: v19.0.0
npm version: 8.19.2
How important is this (1-5)?
Importance: 5
Expected behavior (i.e. solution)
Should install (nodejs v18.11.0 is fine)
Other Comments
PS D:\\> npm install gpu.js --save-dev
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See
https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! code 7
npm ERR! path D:\\\node_modules\gl
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c prebuild-install || node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@7.1.2
npm ERR! gyp info using node@19.0.0 | win32 | x64
npm ERR! gyp info find Python using Python version 2.7.18 found at "C:\Program Files\Python\2.7\python.exe"
npm ERR! gyp info find VS using VS2017 (15.9.28307.1321) found at:
npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! gyp ERR! UNCAUGHT EXCEPTION
npm ERR! gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\\<...>\AppData\Local\npm-cache_logs\2022-10-22T05_51_20_439Z-debug-0.log