You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ npx prebuild --backend cmake-js
prebuild info begin Prebuild version 13.0.0
prebuild info build Preparing to prebuild prebuild-issue-324@0.1.0 for node 20.12.2 on win32-x64 using cmake-js
node:internal/child_process:421
throw new ErrnoException(err, 'spawn');
^
Error: spawn EINVAL
at ChildProcess.spawn (node:internal/child_process:421:11)
at spawn (node:child_process:761:9)
at C:\cygwin\home\Administrator\prebuild-issue-324\node_modules\prebuild\cmakebuild.js:28:16
at C:\cygwin\home\Administrator\prebuild-issue-324\node_modules\npm-which\index.js:35:9
at C:\cygwin\home\Administrator\prebuild-issue-324\node_modules\npm-which\node_modules\which\which.js:87:20
at C:\cygwin\home\Administrator\prebuild-issue-324\node_modules\isexe\index.js:42:5
at C:\cygwin\home\Administrator\prebuild-issue-324\node_modules\isexe\windows.js:36:5
at FSReqCallback.oncomplete (node:fs:205:5) {
errno: -4071,
code: 'EINVAL',
syscall: 'spawn'
}
Node.js v20.12.2
Reproduction
Get access to a x86_64 Windows box.
Install Node.js v20.12.2
Install prebuild and cmake-js npm install prebuild@13.0.0 cmake-js
Run prebuild --backend cmake-js
The text was updated successfully, but these errors were encountered:
Node.js v20.12.2 was released 7 days ago with a fix for CVE-2024-27980, which breaks the way
prebuild
invokescmake-js
.Reproduction
npm install prebuild@13.0.0 cmake-js
prebuild --backend cmake-js
The text was updated successfully, but these errors were encountered: