Hello,
we are trying to install the latest Forge-cli-version onto Windows 10 in an enterprise environment and are facing errors that seem not to be addressed by (or related to) the enterprise-guide. After facing issues with node-gyp we tried the installation manually beforehand, but the rebuilding of node-gyp gets started still and the error regards a missing project file from MSBUILD:
1090 verbose stack Error: command failed
1090 verbose stack at promiseSpawn (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:22:22)
1090 verbose stack at spawnWithShell (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:124:10)
1090 verbose stack at promiseSpawn (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:12:12)
1090 verbose stack at runScriptPkg (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\run-script\lib\run-script-pkg.js:77:13)
1090 verbose stack at runScript (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\run-script\lib\run-script.js:9:12)
1090 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\rebuild.js:329:17
1090 verbose stack at run (C:\Program Files\nodejs\node_modules\npm\node_modules\promise-call-limit\dist\commonjs\index.js:67:22)
1090 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\promise-call-limit\dist\commonjs\index.js:84:9
1090 verbose stack at new Promise (<anonymous>)
1090 verbose stack at callLimit (C:\Program Files\nodejs\node_modules\npm\node_modules\promise-call-limit\dist\commonjs\index.js:35:69)
1091 verbose pkgid keytar@7.9.0
1092 error code 1
1093 error path C:\Windows\System32\node_modules\@forge\cli\node_modules\keytar
1094 error command failed
1095 error command C:\Windows\system32\cmd.exe /d /s /c prebuild-install || npm run build
1096 error > keytar@7.9.0 build
1096 error > node-gyp rebuild
1096 error
1096 error
1096 error MSBUILD : error MSB1009: Die Projektdatei ist nicht vorhanden.
1096 error Schalter: build\binding.sln
Versions:
- node 22.14.0
- python 3.13.2
- node-gyp 11.0.0
- VS2022 build tools
Any help would be appreciated!
Thank you