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

Solution 1:

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

Solution 2:

Easily, I fixed this issue by simply creating C++ project in VS2015.

Basically, when u choose to create a c++ project, VS2015 will ask you to install a certain component, you just let it install. The issue will get fixed. (BTW, I am using VS2015 on Win10)