-
Type:
Build Failure
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
example failure: https://github.com/mongodb-js/kerberos/actions/runs/38304596209/job/114995460298?pr=366
The last successful run was: https://github.com/mongodb-js/kerberos/actions/runs/34752109348
(Sept 13)
The first failing run was: https://github.com/mongodb-js/kerberos/actions/runs/36530108138
(Sept 29)
build failure message from job
{{gyp http GET https://nodejs.org/download/release/v24.21.0/node-v24.21.0-headers.tar.gz }}
{{gyp http 200 https://nodejs.org/download/release/v24.21.0/node-v24.21.0-headers.tar.gz }}
{{gyp http GET https://nodejs.org/download/release/v24.21.0/SHASUMS256.txt }}
{{gyp http GET https://nodejs.org/download/release/v24.21.0/win-arm64/node.lib }}
{{gyp http 200 https://nodejs.org/download/release/v24.21.0/SHASUMS256.txt }}
{{gyp http 200 https://nodejs.org/download/release/v24.21.0/win-arm64/node.lib }}
{{gyp ERR! find VS }}
{{gyp ERR! find VS msvs_version not set from command line or npm config }}
{{gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt }}
{{gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details. }}
{{gyp ERR! find VS }}
{{gyp ERR! find VS Failure details: RangeError [ERR_CHILD_PROCESS_STDIO_MAXB }}
{{gyp ERR! find VS unknown version "undefined" found at "C:\Program Files\Microsoft Visual Studio\18\Enterprise" }}
{{gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use }}
{{gyp ERR! find VS not looking for VS2017 as it is only supported up to Node.js 21 }}
{{gyp ERR! find VS not looking for VS2017 as it is only supported up to Node.js 21 }}
{{gyp ERR! find VS not looking for VS2017 as it is only supported up to Node.js 21 }}
{{gyp ERR! find VS not looking for VS2015 as it is only supported up to Node.js 18 }}
{{gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8 }}
{{gyp ERR! find VS }}
{{gyp ERR! find VS ************************************************************** }}
{{gyp ERR! find VS You need to install the latest version of Visual Studio }}
{{gyp ERR! find VS including the "Desktop development with C++" workload. }}
{{gyp ERR! find VS For more information consult the documentation at: }}
{{gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows }}
{{gyp ERR! find VS ************************************************************** }}
{{gyp ERR! find VS }}
{{prebuild ERR! configure error }}
{{prebuild ERR! stack Error: Could not find any Visual Studio installation to use }}
{{prebuild ERR! stack at VisualStudioFinder.fail (C:\a\kerberos\kerberos\node_modules\prebuild\node_modules\node-gyp\lib\find-visualstudio.js:118:11) }}
{{prebuild ERR! stack at VisualStudioFinder.findVisualStudio (C:\a\kerberos\kerberos\node_modules\prebuild\node_modules\node-gyp\lib\find-visualstudio.js:74:17) }}
{{prebuild ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:104:5) }}
{{prebuild ERR! stack at async createBuildDir (C:\a\kerberos\kerberos\node_modules\prebuild\node_modules\node-gyp\lib\configure.js:112:18) }}
{{prebuild ERR! not ok }}
{{prebuild ERR! build Error: Could not find any Visual Studio installation to use }}
{{prebuild ERR! build at VisualStudioFinder.fail (C:\a\kerberos\kerberos\node_modules\prebuild\node_modules\node-gyp\lib\find-visualstudio.js:118:11) }}
{{prebuild ERR! build at VisualStudioFinder.findVisualStudio (C:\a\kerberos\kerberos\node_modules\prebuild\node_modules\node-gyp\lib\find-visualstudio.js:74:17) }}
{{prebuild ERR! build at process.processTicksAndRejections (node:internal/process/task_queues:104:5) }}
{{prebuild ERR! build at async createBuildDir (C:\a\kerberos\kerberos\node_modules\prebuild\node_modules\node-gyp\lib\configure.js:112:18) }}
{{file:///C:/a/kerberos/kerberos/.github/scripts/build.mjs:56 }}
{{ if (proc.exitCode != 0) throw new Error(`CRASH(${proc.exitCode}): ${commandDetails}`); }}
{{ ^ }}
{{Error: CRASH(2): + npm run prebuild }}
{{ at run (file:///C:/a/kerberos/kerberos/.github/scripts/build.mjs:56:33) }}
{{ at process.processTicksAndRejections (node:internal/process/task_queues:104:5) }}
{{ at async buildBindings (file:///C:/a/kerberos/kerberos/.github/scripts/build.mjs:79:3) }}
{{ at async main (file:///C:/a/kerberos/kerberos/.github/scripts/build.mjs:105:3) }}
{{ at async file:///C:/a/kerberos/kerberos/.github/scripts/build.mjs:108:1 }}
{{Node.js v24.21.0 }}
Error: Process completed with exit code 1.