Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scripts fail with Node.js v >=18 #121

Open
nmonastyrskyi opened this issue Aug 7, 2023 · 3 comments
Open

Scripts fail with Node.js v >=18 #121

nmonastyrskyi opened this issue Aug 7, 2023 · 3 comments

Comments

@nmonastyrskyi
Copy link

Description:

When running scripts using Node.js with the version 18 and above - I have the next error:

node:internal/child_process:413
    throw errnoException(err, 'spawn');
    ^

Error: spawn Unknown system error -8
    at ChildProcess.spawn (node:internal/child_process:413:11)
    at spawn (node:child_process:757:9)
    at module.exports (/Users/hardwork/Desktop/www/Agent/node_modules/scripty/lib/run/spawn-script.js:8:17)
    at /Users/hardwork/Desktop/www/Agent/node_modules/scripty/lib/run/index.js:4:27
    at /Users/hardwork/Desktop/www/Agent/node_modules/scripty/node_modules/async/dist/async.js:3883:24
    at replenish (/Users/hardwork/Desktop/www/Agent/node_modules/scripty/node_modules/async/dist/async.js:1014:17)
    at /Users/hardwork/Desktop/www/Agent/node_modules/scripty/node_modules/async/dist/async.js:1019:9
    at eachOfLimit (/Users/hardwork/Desktop/www/Agent/node_modules/scripty/node_modules/async/dist/async.js:1044:24)
    at /Users/hardwork/Desktop/www/Agent/node_modules/scripty/node_modules/async/dist/async.js:1049:16
    at _parallel (/Users/hardwork/Desktop/www/Agent/node_modules/scripty/node_modules/async/dist/async.js:3882:5) {
  errno: -8,
  code: 'Unknown system error -8',
  syscall: 'spawn'
}

Env versions

Node.js v18.17.0
npm v9.6.7
OS MacOS Intel

@telephant
Copy link

+1

1 similar comment
@bruce-ws
Copy link

+1

@bruce-ws
Copy link

node:internal/child_process:421
throw new ErrnoException(err, 'spawn');
^

Error: spawn Unknown system error -8
at ChildProcess.spawn (node:internal/child_process:421:11)
at spawn (node:child_process:761:9)
at module.exports (/xxxxxxxxxxxxxx/node_modules/.pnpm/[email protected]/node_modules/scripty/lib/run/spawn-script.js:8:17)
at /xxxxxxxxxxxxxx/node_modules/.pnpm/[email protected]/node_modules/scripty/lib/run/index.js:4:27
at /Users/brucew/jc/jc_monorepo/node_modules/.pnpm/[email protected]/node_modules/async/dist/async.js:3883:24
at replenish (/xxxxxxxxxxxxxx/node_modules/.pnpm/[email protected]/node_modules/async/dist/async.js:1014:17)
at /xxxxxxxxxxxxxx/node_modules/.pnpm/[email protected]/node_modules/async/dist/async.js:1019:9
at eachOfLimit (/xxxxxxxxxxxxxxo/node_modules/.pnpm/[email protected]/node_modules/async/dist/async.js:1044:24)
at /xxxxxxxxxxxxxx/node_modules/.pnpm/[email protected]/node_modules/async/dist/async.js:1049:16
at _parallel (/xxxxxxxxxxxxxx/node_modules/.pnpm/[email protected]/node_modules/async/dist/async.js:3882:5) {
errno: -8,
code: 'Unknown system error -8',
syscall: 'spawn'
}

node 20.12.0
pnpm 9.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants