码迷,mamicode.com
首页 > 其他好文 > 详细

node-pre-gyp install --fallback-to-build 错误

时间:2017-08-13 00:14:31      阅读:5299      评论:0      收藏:0      [点我收藏+]

标签:gyp   span   bsp   images   源码编译   com   ring   -o   class   

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 错误

标签:gyp   span   bsp   images   源码编译   com   ring   -o   class   

原文地址:http://www.cnblogs.com/tekkaman/p/7351989.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!