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
\colab-isc-advanced-policy-management-framework> npm run dev
> [email protected] dev
> cross-env NODE_OPTIONS=--enable-source-maps spcx run dist/index.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:760:9)
at spawnTsc (C:\Users\mostafa.helmy\OneDrive - SailPoint Technologies, Inc\Documents\SailPointDev\colab-isc-advanced-policy-management-framework\node_modules\@sailpoint\connector-sdk\bin\spcx.ts:73:20)
at runDev (C:\Users\mostafa.helmy\OneDrive - SailPoint Technologies, Inc\Documents\SailPointDev\colab-isc-advanced-policy-management-framework\node_modules\@sailpoint\connector-sdk\bin\spcx.ts:83:2)
at Object.<anonymous> (C:\Users\mostafa.helmy\OneDrive - SailPoint Technologies, Inc\Documents\SailPointDev\colab-isc-advanced-policy-management-framework\node_modules\@sailpoint\connector-sdk\bin\spcx.ts:32:2)
at Module._compile (node:internal/modules/cjs/loader:1504:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1588:10)
at Module.load (node:internal/modules/cjs/loader:1282:32)
at Module._load (node:internal/modules/cjs/loader:1098:12)
at TracingChannel.traceSync (node:diagnostics_channel:315:14) {
errno: -4071,
code: 'EINVAL',
syscall: 'spawn'
}
Node.js v22.5.1
The option { shell: true } should be added to the spawn code listed below
Following a recent Node update for a security vulnerability, running
npm run dev
now fails with the same errors listed here.The option
{ shell: true }
should be added to the spawn code listed belowsp-connector-sdk-js/bin/spcx.ts
Line 73 in 2b9edbb
Suggested code:
The text was updated successfully, but these errors were encountered: