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

时间: 2024-08-18 12:20:36

node-pre-gyp install --fallback-to-build 错误的相关文章

AIX 5.3 Install Oracle 10g RAC 错误集锦--磁盘I/O 故障

AIX 5.3  Install Oracle 10g RAC 错误集锦--磁盘I/O 故障 系统环境: 操作系统: AIX 5300-09 集群软件: CRS 10.2.0.1 数据库:   Oracle 10.2.0.1                      系统架构图                                        本机采用vg 并发(VG concurrent)作为共享的存储 故障现象: . 当在第一个node(aix211)执行root.sh时,被ha

FreeSWITCH安装报错“You must install libyuv-dev to build mod_fsv”的解决方案

昨天下午安装FreeSWITCH时遇到该问题时,整了一个下午都没解决,也走了许多弯路.如果直接通过yum安装libyuv-devel时,会报错说找不到该安装包.后来又通过FreeSWITCH官网的网上聊天,找FreeSWITCH的工作人员要到了libyuv-devel的安装方法(请参考:http://pkgs.org/centos-6/epel-x86_64/libyuv-devel-0-0.12.20120727svn312.el6.x86_64.rpm.html).然而安装之后还是报同样的错

AIX 5.3 Install Oracle 10g RAC 错误集锦--9i RAC present

AIX 5.3 Install Oracle 10g RAC 错误集锦--9i RAC Present 系统环境: 操作系统: AIX 5300-08 集群软件: CRS 10.2.0.1 数据库:   Oracle 10.2.0.1                     系统架构图 故障现象: 解决方法: [[email protected] tmp]# cat /etc/oratab # This file is used by ORACLE utilities.  It is creat

Win7,Win8安装ArcGIS软件或Node.js等安装包出现2503错误的解决方法

最近win8系统在安装Node.js和ArcGIS软件的时候都出现了2503错误,后来才发现,都是Win8的权限系统在作怪.解决方法看似也挺原始,但很奏效: 1)进入C:\windows\installer路径,找到安装程序的msi.如果你的安装包没有把msi文件解压到这个路径下,请将对应的msi和CAB文件复制到这个路径下,比如ArcGIS的安装程序. 2)以管理员身份打开cmd程序 3)在命令行中输入"C:\windows\installer\xxx.msi"并回车.由下面的截图能

Type cvc-complex-type.2.4.a: Invalid content was found starting with element 'build'.错误的解决方法

项目突然间爆出了这样的问题: Description Resource Path Location Typecvc-complex-type.2.4.a: Invalid content was found starting with element 'build'. One of '{"http://maven.apache.org/POM/4.0.0":parent, "http://maven.apache.org/POM/4.0.0":name, "

【Node】nmp install

// install package [[email protected] 10.node.js]# npm install -g grunt-cli /usr/local/bin/grunt -> /usr/local/lib/node_modules/grunt-cli/bin/grunt [email protected] /usr/local/lib/node_modules/grunt-cli ├── [email protected] ├── [email protected] ([

完美解决pip install scrapy,安装Scrapy错误:Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

1,在Python3.6 安装Scrapy 出现以下报错 2,错误分析 红色报的错误指向的是Twisted 1,Twisted 没安装上 2,Twisted 没安装成功 3,Twisted 版本与Python的版本不适配 3,解决办法 下载与Python版本适配的Twisted离线安装 python各种封装包地址, 解决python多包问题  https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml 4,离线安装 下载好离线安装包 ,把文件拖拽到上面写好

iKcamp|基于Koa2搭建Node.js实战(含视频)? 错误处理

沪江CCtalk视频地址:https://www.cctalk.com/v/15114923887518 处理错误请求 爱能遮掩一切过错. 当我们在访问一个站点的时候,如果访问的地址不存在(404),或服务器内部发生了错误(500),站点会展示出某个特定的页面,比如: 那么如何在 Koa 中实现这种功能呢?其实,一个简单的中间件即可实现,我们把它称为 http-error.实现过程并不复杂,拆分为三步来看: 第一步:确认需求 第二步:整理思路 第三步:代码实现 确认需求 打造一个事物前,需要先确

petalinux-build禁用串口后build错误

一个棘手问题: 如果不把串口插在PC机上,petalinux系统就无法启动.然后想把串口禁用,disable掉以后,重新petalinux-config --get-hw-description -p../ 然后petalinux-build,出现错误 .../build/linux/u-boot/src/u-boot-plnx/common/board_f.c: In function 'init_baud_rate':[ALL  ] /home//...build/linux/u-boot/

运行 maven install的时候出现错误 not a jre

原文转自jingyan.baidu.com/article/c85b7a6464d8be003bac95fb.html (linux下我直接执行第二步,错误解决) 在使用eclipse 运行 maven install的时候, [ERROR] Unable to locate the Javac Compiler in:   D:\Program Files\Java\jre6\..\lib\tools.jar Please ensure you are using JDK 1.4 or abo