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項目

相關文章
相關標籤/搜索