Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

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

@nmonastyrskyi

Description

@nmonastyrskyi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions