【发布时间】:2016-06-17 17:32:19
【问题描述】:
我更新到 TACO 10 和 VS 2015 2。由于路径较长,我收到以下错误。
1> Installing npm 2.14.9. This could take a few minutes...
1> Failed: 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.
有没有办法告诉 VS 使用全局安装的 npm。我尝试安装 .NET Web Development and Tools Blog 和 changing the path orders on the External Web Tools options。
我也尝试取消选中使用沙箱节点,但 VS 仍然尝试安装 npm。
有什么想法吗?
【问题讨论】:
-
检查此链接是否有帮助:Build errors caused by long path and file names.
标签: node.js visual-studio visual-studio-cordova taco