We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I failed to install cluster2 using npm install cluster2
npm install cluster2
My setup:
npm 7.10.0 node v16.0.0 macOS 11.3 MacBook Air M1 2020
Output:
npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '[email protected]', npm WARN EBADENGINE required: { node: '>=0.6', npm: '1' }, npm WARN EBADENGINE current: { node: 'v16.0.0', npm: '7.10.0' } npm WARN EBADENGINE } npm WARN deprecated [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) npm WARN deprecated [email protected]: express 2.x series is deprecated npm WARN deprecated [email protected]: Critical security bugs fixed in 2.5.5 npm WARN deprecated [email protected]: connect 1.x series is deprecated npm ERR! code 1 npm ERR! path /Users/.../cluster-test/node_modules/usage npm ERR! command failed npm ERR! command sh -c node-gyp rebuild npm ERR! CXX(target) Release/obj.target/sysinfo/src/binding.o npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using [email protected] npm ERR! gyp info using [email protected] | darwin | arm64 npm ERR! gyp info find Python using Python version 3.9.4 found at "/opt/homebrew/opt/[email protected]/bin/python3.9" npm ERR! (node:67193) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only. npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created) npm ERR! gyp info spawn /opt/homebrew/opt/[email protected]/bin/python3.9 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/Users/.../cluster-test/node_modules/usage/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/Users/.../Library/Caches/node-gyp/16.0.0/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/Users/.../Library/Caches/node-gyp/16.0.0', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/Users/.../Library/Caches/node-gyp/16.0.0/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/Users/.../cluster-test/node_modules/usage', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info spawn make npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] npm ERR! ../src/binding.cpp:5:21: error: no template named 'Handle' npm ERR! void RegisterModule(Handle<Object> target) { npm ERR! ^ npm ERR! ../src/binding.cpp:17:25: error: no member named 'NewSymbol' in 'v8::String' npm ERR! target->Set(String::NewSymbol("OS"), String::New(OS)); npm ERR! ~~~~~~~~^ npm ERR! ../src/binding.cpp:17:50: error: no member named 'New' in 'v8::String' npm ERR! target->Set(String::NewSymbol("OS"), String::New(OS)); npm ERR! ~~~~~~~~^ npm ERR! 3 errors generated. npm ERR! make: *** [Release/obj.target/sysinfo/src/binding.o] Error 1 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2 npm ERR! gyp ERR! stack at ChildProcess.onExit (/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:365:28) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12) npm ERR! gyp ERR! System Darwin 20.4.0 npm ERR! gyp ERR! command "/opt/homebrew/Cellar/node/16.0.0/bin/node" "/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" npm ERR! gyp ERR! cwd /Users/.../github/playgra/cluster-test/node_modules/usage npm ERR! gyp ERR! node -v v16.0.0 npm ERR! gyp ERR! node-gyp -v v7.1.2 npm ERR! gyp ERR! not ok npm ERR! A complete log of this run can be found in: npm ERR! /Users/.../.npm/_logs/2021-04-30T14_04_35_217Z-debug.log...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I failed to install cluster2 using
npm install cluster2
My setup:
Output:
The text was updated successfully, but these errors were encountered: