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

Not compatible with Node.js v18.18.0 or later #97

Open
pasqualesimonetti opened this issue Sep 23, 2023 · 0 comments
Open

Not compatible with Node.js v18.18.0 or later #97

pasqualesimonetti opened this issue Sep 23, 2023 · 0 comments

Comments

@pasqualesimonetti
Copy link

% yarn
yarn install v1.22.19
warning ../../package.json: No license field
[1/4] πŸ”  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] πŸ”—  Linking dependencies...
[4/4] πŸ”¨  Building fresh packages...
[-/3] β ‚ waiting...
[3/3] β ‚ ffi-napi
error /Users/username/Developer/gpt4free-ts/node_modules/ffi-napi: Command failed.
Exit code: 1
Command: node-gyp-build
Arguments: 
Directory: /Users/username/Developer/gpt4free-ts/node_modules/ffi-napi
Output:
node:events:495
      throw er; // Unhandled 'error' event
      ^

Error: spawn node-gyp ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:284:19)
    at onErrorNT (node:internal/child_process:477:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on ChildProcess instance at:
    at ChildProcess._handle.onexit (node:internal/child_process:290:12)
    at onErrorNT (node:internal/child_process:477:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn node-gyp',
  path: 'node-gyp',
  spawnargs: [ 'rebuild' ]
}

Node.js v18.18.0

Use Node.js 16 instead.

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

1 participant