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

Posted Tekkaman

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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 错误的主要内容,如果未能解决你的问题,请参考以下文章

HEROKU : node-pre-gyp install --fallback-to-build

在 OSX 上安装 MeanJS 期间,`node-pre-gyp install --fallback-to-build` 失败

NPM 问题:Node-pre-gyp。使用 node-pre-gyp https 下载请求

node-pre-gyp:heroku push 中的权限被拒绝

node-pre-gyp:heroku push 中的权限被拒绝

在 apt-installed phpmyadmin 上启用 2FA