node.js - 错误 bcrypt@0.8.3 安装脚本失败 'node-gyp rebuild'

标签 node.js npm bcrypt node-gyp

我正在尝试在我的笔记本电脑(Windows 7 64 位)上安装 bcrypt。 我已经安装了 Microsoft Visual C++ 2008 Redistributable Package、2012 Redistributable package。还安装了带有更新 4 的 Visual Studio 2013 社区。

我尝试使用此命令添加 Node 模块 npm install bcrypt --msvs_version=2013进入我的nodejs项目https://github.com/steelx/nodeauth

我已经安装了所需的Python 2.7.9和node-gyp。 但还是没有运气。

这是完整的错误日志 here

最佳答案

这实际上是一个常见问题。您需要安装 64 位 Windows SDK。

https://github.com/TooTallNate/node-gyp/#installation

干杯!

关于node.js - 错误 bcrypt@0.8.3 安装脚本失败 'node-gyp rebuild',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30251264/

相关文章:

javascript - 在火炮中获取测试加载结果

javascript - npmjs.com 如何计算代码质量

node.js - crypto和bcrypt有什么区别

node.js - Node 检查器调试

npm - 卸载 npm 包后出错

python - 在 Python 中使用 Bcrypt 散列密码时出错

ruby-on-rails - Rails 4.1.0 和 authlogic bcrypt 问题

node.js - 带有 Node.js 的机器人框架,用于测试网络协议(protocol)

node.js - 变量中的 NodeJS 对象

node.js - 我可以在 : IBM Bluemix DevOps Services, 构建步骤 'npm' 构建器类型中使用不同版本的 Node 吗?