Error:npm ERR! Failed at the bcrypt@5.0.0 install script.

Posted 王同学要努力

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error:npm ERR! Failed at the bcrypt@5.0.0 install script.相关的知识,希望对你有一定的参考价值。

Error:npm ERR! Failed at the bcrypt@5.0.0 install script.

Error

npm ERR! code ELIFECYCLE
npm ERR! errno 9009
npm ERR! bcrypt@5.0.0 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 9009
npm ERR!
npm ERR! Failed at the bcrypt@5.0.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Solution1

Reason for Error : Node maybe can’t able to find the Python path on your system

step: 1 Rum command prompt as administrator step 2 Install the package

  npm install --global --production windows-build-tools

It may take some while, keep patient

step 3 Now install

npm install node-gyp

Last step Now you are ready to Go

npm install bcrypt

以上是关于Error:npm ERR! Failed at the bcrypt@5.0.0 install script.的主要内容,如果未能解决你的问题,请参考以下文章

npm ERR! Failed at the node-sass@4.13.0 postinstall script.

webpack运行报错: npm ERR! Failed at the ui@1.0.0 dev script

webpack4学习记录运行npm run dev 报错npm ERR! Failed at the webpacktest@1.0.0 dev script.

webpack4学习记录运行npm run dev 报错npm ERR! Failed at the webpacktest@1.0.0 dev script.

webpack4学习记录运行npm run dev 报错npm ERR! Failed at the webpacktest@1.0.0 dev script.

Failed at the node-sass@4.14.1 postinstall script. npm ERR! This is probably not a problem with npm(