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

前端 未结 6 1986
刺人心
刺人心 2020-12-22 18:11

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条回答
  •  青春惊慌失措
    2020-12-22 18:49

    I had a similar problem while building a typical hello_world.c console application. The reason was that I decided to install VS2015 to "C:\program files (x86)\msvc14", but the installer installed cl.exe to the default "c:\program files (x86)\Microsoft Visual Studio 14.0" path. Which is obviously a serious bug in the setup program.

    I merged all the content of "Microsoft Visual Studio 14.0" into the "msvc14" directory, and now all works fine.

提交回复
热议问题