首页 > 代码库 > node-pre-gyp install --fallback-to-build 错误
node-pre-gyp install --fallback-to-build 错误
【node-pre-gyp install --fallback-to-build 错误】
npm install bcrypt时遇上错误
此时,安装node-gyp
npm install -g node-gyp
然后,再安装bcrypt即可。
【node-gyp】
Node.js native addon build tool
node-gyp
is a cross-platform command-line tool written in Node.js for compiling native addon modules for Node.js. It bundles the gyp project used by the Chromium team and takes away the pain of dealing with the various differences in build platforms.
node-gyp用于将工具源码编译成ndoejs add-on
参考:
1、https://stackoverflow.com/questions/33463945/node-pre-gyp-install-fallback-to-build-failed-during-meanjs-installation-on
2、https://www.npmjs.com/package/node-gyp
node-pre-gyp install --fallback-to-build 错误
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。