node gyp error TRACKER : error TRK0005: Failed to locate: “CL.exe”. The system cannot find the file specified

前端 未结 6 1128
余生分开走
余生分开走 2020-12-22 18:04

I want to install bcrypt on a windows 10 machine with visual studio community 2015, Python v2.7.3 installed but i get the following error.

node version v4.2.1 node-

6条回答
  •  萌比男神i
    2020-12-22 18:32

    I had the same problem with another module.

    I solved it by:

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

提交回复
热议问题