Skip to content

Not able to install zeromq on OsX Macbook Air M2 #644

@kjellaso

Description

@kjellaso

Not able to install zeromq using npm install zeromq. It fails with this error:

npm ERR! command failed
npm ERR! signal SIGINT
npm ERR! command sh -c (npm run build.js || echo ok) && aminya-node-gyp-build --build-from-source
npm ERR! > [email protected] build.js
npm ERR! > run-p build.script build.library
npm ERR!
npm ERR!
npm ERR! > [email protected] build.library
npm ERR! > tsc -p ./src/tsconfig.json
npm ERR!
npm ERR!
npm ERR! > [email protected] build.script
npm ERR! > tsc -p ./script/tsconfig.esm.json && tsc -p ./script/tsconfig.json
npm ERR!
npm ERR! error TS2688: Cannot find type definition file for 'mocha'.
npm ERR! The file is in the program because:
npm ERR! Entry point of type library 'mocha' specified in compilerOptions
npm ERR! error TS2688: Cannot find type definition file for 'node'.
npm ERR! The file is in the program because:
npm ERR! Entry point of type library 'node' specified in compilerOptions
npm ERR! ok
npm ERR! ERROR: "build.script" exited with 2.

I'm running Mac OS 14.2.1 (23C71)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions