Failed at the bcrypt@0.8.7 install script 'node-gyp rebuild'
来源:互联网 发布:淘宝热搜关键词软件 编辑:程序博客网 时间:2024/06/03 21:36
nodejs在安装bcrypt@.0.8.7版本时报错Failed at the bcrypt@0.8.7 install script 'node-gyp rebuild'这个错误的意思是还需要安装node-gyp这个模块,但是我们在安装了node-gyp模块之后还是报错,报错的大概信息是python版本太低,那么在看看github上面关于这个模块的安装说明:https://github.com/nodejs/node-gyp#installation,看这个文档大概的意思就是:
bcrypt这个模块在linux上运行需要python(版本必须大于2.6)和gcc(版本必须大于4.8)的支持,所以请先升级这两个模块,升级需要大概半天的时间:
python升级:https://ruiaylin.github.io/2014/12/12/python%20update/
gcc升级:http://www.cnblogs.com/chihm/p/6007356.html
升级的时候注意一下几点:
服务器最好是root权限或者su切换到root权限。
升级完后重启服务器。
所有python和gcc升级完之后python -V和gcc -v来查看版本信息。
0 0
- Failed at the bcrypt@0.8.7 install script 'node-gyp rebuild'
- 安装bcrypt报错node-gyp rebuild解决方法
- 安装bcrypt报错node-gyp rebuild解决方法
- node.js错误 --> node-pre-gyp install --fallback-to-build
- npm install time出现gyp ERR! stack Error: "pre" versions of node cannot be installed, use the --nodedi
- If the root.sh script fails on a node during the install of the Grid Infrastructure with Oracle Data
- node-gyp 设置 Proxy
- NPM报错:node-pre-gyp install --fallback-to-build一直卡住不动了
- The script to install openvpn (by quqi99)
- node-pre-gyp ERR! node-pre-gyp -xxxxxxxxxxxx
- Windows下使用node-gyp
- npm install bcrypt 报错,windows
- node-gyp编译node-sqlserver(转载)
- Failed to install the VirtualCenter Agent Service
- The 'grub-pc' package failed to install
- Failed to install the hcmon driver
- Windows node bcrypt安装报错
- Understanding the Node.js Event Loop - Node.js at Scale
- 基于Metronic的Bootstrap开发框架经验总结(4)--Bootstrap图标的提取和利用
- JAVA 8 Streams API 学习札记
- 【转载】aliyun阿里云Maven仓库地址——加速你的maven构建
- linux 抓包命令tcpdump
- UVALive
- Failed at the bcrypt@0.8.7 install script 'node-gyp rebuild'
- 完美字符串
- java程序将汉字转成拼音的两种方法
- POJ 2357 Labyrinth
- 第八届山东省赛题->Parity check
- 【taotao】solr
- springboot微服务架构——搭建入门
- P
- 5G 时代的到来意味着什么?