-
-
Notifications
You must be signed in to change notification settings - Fork 75
Description
Hello everyone,
I can't run "pnpm install" successful because of the following error:
│ node:events:491
│ throw er; // Unhandled 'error' event
│ ^
│ Error: spawn node-gyp ENOENT
│ at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
│ at onErrorNT (node:internal/child_process:478:16)
│ at processTicksAndRejections (node:internal/process/task_queues:83:21)
│ Emitted 'error' event on ChildProcess instance at:
│ at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
│ at onErrorNT (node:internal/child_process:478:16)
│ at processTicksAndRejections (node:internal/process/task_queues:83:21) {
│ errno: -2,
│ code: 'ENOENT',
│ syscall: 'spawn node-gyp',
│ path: 'node-gyp',
│ spawnargs: [ 'rebuild' ]
Here some hopefully helpful information
OS: monterey 12.16
platform: darwin
arch: arm64 (M1 pro)
node: 16.17
package manager: pnpm
Does anyone have any idea how I can fix this error?