Error:Failed at the bcrypt@3.0.4 install script. npm ERR! This is probably not a problem with npm.

报错如下:

Error:Failed at the bcrypt@3.0.4 install script._java

解决办法:使用 --ignore-scripts 安装 (先把某个报错的包单独安装)

npm install bcrypt@3.0.4 --ignore-scripts