nodejs安装一些模块报错

好比 bcrypt模块node

TRACKER : 错误 TRK0005: 未能找到: “CL.exe”。系统找不到指定的文件。c++

 

解决办法:npm

 

  • Install visual studio community 2013
  • npm config set msvs_version 2013 --global

固然也能够其余的vs如2015 it

若是还有错误,打开安装的vs,建立一个c++项目,来安装必要的文件和动态库lib。io

相关:error

http://stackoverflow.com/questions/33183161/node-gyp-error-tracker-error-trk0005-failed-to-locate-cl-exe-the-system-cstackoverflow

http://stackoverflow.com/questions/33716369/error-trk0005-failed-to-locate-cl-exe/33716573#33716573项目

相关文章
相关标签/搜索