操作系统为Windows 10, 开发工具为Microsoft Visual Studio 2013, 使用的 Node 版本为 v0.12.7, 使用的 node-gyp 版本为 v2.0.2。
我经常在使用 node-gyp 时遇到构建错误:
Error: `C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe` failed with exit code: 1
红色的描述也在此:
Could not write lines to file "Release\obj\validation\validation.tlog\validation.lastbuildstate". The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
更详细的错误摘要: https://gist.github.com/nerijusgood/63e54d9c376999a044bb 据我所知,一切都运行得很好,但是msbuild无法写入长路径名。是否有补丁或Windows解决方法?