骗取犯错!建立错误
gyp ERR!堆栈错误:make
failed with exit code: 2
gyp ERR!在ChildProcess堆栈。onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR!在ChildProcess堆栈。emit (events.js:182:13)
gyp ERR!在Process.ChildProcess._handle堆栈。onexit (internal/child_process.js:239:12)
gyp ERR达尔文系统16.7.0
gyp ERR!命令“/ usr /地方/地窖/节点/ 10.9.0/bin /节点”“/ usr /地方/ lib/node_modules/npm node_modules/node-gyp/bin/node-gyp。js ” “重建” gyp ERR!cwd /Users/zhangying/Documents/www/kurento/kurento-client-js/node_modules/utf-8-validate
gyp ERR!node-gyp -v v3.8.0
不ok
npm WARN [email protected]需要一个对等的grunt@~0.4.1,但没有安装。您必须自己安装对等依赖。
npm ERR!ERR!
npm [email protected]安装:
node-gyp rebuild
npm ERR!退出状态1
npm ERR!
npm犯错!安装脚本[email protected]失败。
npm犯错!这可能不是npm的问题。上面可能有额外的日志输出
npm犯错!此运行的完整日志可在以下文件中找到:
npm ERR!/用户/ zhangying/.npm/_logs/2018 – 09 – 08 – t03_07_51_380z debug.log p>
方法一:
npm安装- g bcrypt
方法二:
删除~ /。node-gyp
方法三:
切换到当前项目下即可。 p>
rm射频.node-gyp/ p>
引用>npm install -g node-gyp
rm射频项目/ node_modules p>
引用>再次,npm安装即可。 p>
div>Read More:
- [solution] MAC: stack error: ` gyp ‘failed with exit code:1
- Gyp err! Build error stack error
- NPM install error | gyp err! Configure error
- NPM install error: gyp err! Configure error
- NPM installs dependent packages and reports an error node gyp rebuild… Solution
- yarn install gyp verb `which` failed python2 Error: not found: python2
- npm install Error: gyp verb `which` failed Error: not found: python
- Error gyp verb ‘which’ failed error: not found: python2 using Vue admin template master
- NPM run build failed to package err! Missing script: build
- The solution of NPM err! Code elifecycle
- Solution of NPM err! Code elifecycle
- NPM err! Code enotfound (2020-07-03)
- Error “NPM err” when starting Vue project! code ELIFECYCLE”
- Solve NPM err! code 128
- Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’ npm ERR! at Error (native)
- Solution: DevTools failed to load SourceMap:… net::ERR_HTTP_RESPONSE_CODE_FAILURE problem
- NPM run dev error (ERR: Code lifecycle)
- NPM ERR! Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’
- “NPM err! Error: eperm: operation not permitted” problem solving
- Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING