Skip to content

No prebuilt available for darwin arm64 and error while building with MAC M1 chip  #176

@DennisMaass

Description

@DennisMaass

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions