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
The latest versions of Node include a security vulnerability fix which now requires calling spawn() with shell: true on Windows (Node security release blog).
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | win32 | x64
node-pre-gyp ERR! UNCAUGHT EXCEPTION
node-pre-gyp ERR! stack Error: spawn EINVAL
node-pre-gyp ERR! stack at ChildProcess.spawn (node:internal/child_process:421:11)
node-pre-gyp ERR! stack at Object.spawn (node:child_process:761:9)
node-pre-gyp ERR! stack at module.exports.run_gyp (C:\Users\circleci\project\node_modules\@mapbox\node-pre-gyp\lib\util\compile.js:80:18)
node-pre-gyp ERR! stack at C:\Users\circleci\project\node_modules\@mapbox\node-pre-gyp\lib\configure.js:44:15
node-pre-gyp ERR! stack at handle_gyp_opts (C:\Users\circleci\project\node_modules\@mapbox\node-pre-gyp\lib\util\handle_gyp_opts.js:101:10)
node-pre-gyp ERR! stack at configure (C:\Users\circleci\project\node_modules\@mapbox\node-pre-gyp\lib\configure.js:12:3)
node-pre-gyp ERR! stack at self.commands.<computed> [as configure] (C:\Users\circleci\project\node_modules\@mapbox\node-pre-gyp\lib\node-pre-gyp.js:86:37)
node-pre-gyp ERR! stack at run (C:\Users\circleci\project\node_modules\@mapbox\node-pre-gyp\lib\main.js:81:30)
node-pre-gyp ERR! stack at Object.<anonymous> (C:\Users\circleci\project\node_modules\@mapbox\node-pre-gyp\lib\main.js:125:1)
node-pre-gyp ERR! stack at Module._compile (node:internal/modules/cjs/loader:1358:14)
I'm currently working around this by using patch-package with the following patch:
Updated node-pre-gyp attempting to resolve this issue, but it is still
unresolved upstream. For now, hack in a patch. Once upstream fixes
this, we can update to the fixed version and drop this hack.
For more details, see mapbox/node-pre-gyp#715
kadler
added a commit
to IBM/node-odbc
that referenced
this issue
Aug 21, 2024
Updated node-pre-gyp attempting to resolve this issue, but it is still
unresolved upstream. For now, hack in a patch. Once upstream fixes
this, we can update to the fixed version and drop this hack.
For more details, see mapbox/node-pre-gyp#715
kadler
added a commit
to IBM/node-odbc
that referenced
this issue
Aug 21, 2024
Updated node-pre-gyp attempting to resolve this issue, but it is still
unresolved upstream. For now, hack in a patch. Once upstream fixes
this, we can update to the fixed version and drop this hack.
For more details, see mapbox/node-pre-gyp#715
The latest versions of Node include a security vulnerability fix which now requires calling
spawn()
withshell: true
on Windows (Node security release blog).I'm currently working around this by using patch-package with the following patch:
The text was updated successfully, but these errors were encountered: