-
Notifications
You must be signed in to change notification settings - Fork 148
npm install error #53
Comments
ye i have meet it error |
i meet that erro too! how can i do? npm ERR! A complete log of this run can be found in: |
我也有同样的错误 |
谁能解决下吗,node v16.13.1 |
gyp ERR! configure error
gyp ERR! stack Error:
gyp
failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Darwin 17.7.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/Users/yanguanghao/workspace/xiaoduyu.com-master/node_modules/v8-profiler-node8/build/profiler/v6.1.1/node-v57-darwin-x64/profiler.node" "--module_name=profiler" "--module_path=/Users/yanguanghao/workspace/xiaoduyu.com-master/node_modules/v8-profiler-node8/build/profiler/v6.1.1/node-v57-darwin-x64" "--napi_version=3" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v57"
gyp ERR! cwd /Users/yanguanghao/workspace/xiaoduyu.com-master/node_modules/v8-profiler-node8
gyp ERR! node -v v8.11.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/yanguanghao/workspace/xiaoduyu.com-master/node_modules/v8-profiler-node8/build/profiler/v6.1.1/node-v57-darwin-x64/profiler.node --module_name=profiler --module_path=/Users/yanguanghao/workspace/xiaoduyu.com-master/node_modules/v8-profiler-node8/build/profiler/v6.1.1/node-v57-darwin-x64 --napi_version=3 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v57' (1)
node-pre-gyp ERR! stack at ChildProcess. (/Users/yanguanghao/workspace/xiaoduyu.com-master/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:126:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:214:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:925:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
node-pre-gyp ERR! System Darwin 17.7.0
node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/yanguanghao/workspace/xiaoduyu.com-master/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/yanguanghao/workspace/xiaoduyu.com-master/node_modules/v8-profiler-node8
node-pre-gyp ERR! node -v v8.11.2
node-pre-gyp ERR! node-pre-gyp -v v0.13.0
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/yanguanghao/workspace/xiaoduyu.com-master/node_modules/v8-profiler-node8/build/profiler/v6.1.1/node-v57-darwin-x64/profiler.node --module_name=profiler --module_path=/Users/yanguanghao/workspace/xiaoduyu.com-master/node_modules/v8-profiler-node8/build/profiler/v6.1.1/node-v57-darwin-x64 --napi_version=3 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v57' (1)
npm WARN [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install:
node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
The text was updated successfully, but these errors were encountered: