安装cmake-js / fastcall时出错

时间:2017-02-21 02:16:19

标签: javascript node.js visual-studio-2015 npm cmake

尝试安装cmake-js / fastcall:

npm install fastcall

收到错误:

ERR! OMG There is no Visual C++ compiler installed. Install Visual C++ Build Toolset or Visual Studio.
....
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "fastcall"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! fastcall@0.2.3 install: `cmake-js compile`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fastcall@0.2.3 install script 'cmake-js compile'.
npm ERR! Make sure you have the latest version of node.js and npm     installed.
npm ERR! If you do, this is most likely a problem with the fastcall     package,
npm ERR! not with npm itself.

安装了Visual Studio 2015社区,我可以很好地编译c ++代码..

以下没有解决问题:

set VisualStudioVersion=14.0
call c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat
npm install fastcall --msvs_version=2015

并且日志中没有任何内容,谷歌中没有任何内容!需要你的帮助。在哪里看?

1 个答案:

答案 0 :(得分:0)

安装cmake-3.8.0-rc1-win64完全解决了这个问题!

相关问题