我正在和一个在Mac上的朋友一起工作一个前端项目,并且已经能够在他的身边安装和运行node-sass。 我正在运行Windows 10,所以当我拉动项目,并尝试运行npm install
我现在得到了一堆来自CI.exe的错误,如下所示:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\corecrt.h(10): fatal error C1083: Cannot open include file: 'vcruntime.h': No such file or directory (compiling source file ..\..\src\libsass\src\check_nesting.cpp) [C:\Deve lopment\xxx\xxx\node_modules\gulp-sass\node_modules\node-sass\build\src\libsass.vcxproj]
我已经下载了C ++二进制文件,安装了节点windows-build-tools,我确定了CI.exe在PATH中。 我在我的智慧结束!
我正在运行节点v8.2.1,npm v5.3.0,VS 2017(v15.2,26430.16版本)(安装C ++构build工具等)
完整的npmdebugging日志运行命令npm install node-sass
从项目目录npm install node-sass