error TRK0005: Failed to locate: “CL.exe”

后端 未结 4 1131
梦谈多话
梦谈多话 2021-02-01 04:21

I\'m using Windows 8.1. I installed Visual Studio 2015 community edition. When I run npm install -g generator-keystone, I get the error at the bottom. I tried running the foll

4条回答
  •  情深已故
    2021-02-01 05:11

    I went to \Users\[my-user]\.windows-build-tools - an install file for VS Build-tools was there (for 2017 it's vs_BuildTools.exe), I ran and installed it.

    After that I ran npm install --global --production windows-build-tools ("Option 1" from here).

    Then it worked.

提交回复
热议问题