npm 3.5.2 nuget包无法在VS2013中安装

时间:2016-11-25 09:08:55

标签: npm nuget

我无法在visual studio 2013中安装nuget package NPM 3.5.2。它失败并显示错误 - Could not find a part of the path

Attempting to resolve dependency 'Node.js (≥ 0.12.7)'.
Attempting to resolve dependency 'NoGit (≥ 0.1.0)'.
Installing 'Npm 3.5.2'.
Install failed. Rolling back...
Could not find a part of the path 'C:\Users\xxxxx\AppData\Local\Temp\NuGetScratch\92236435-c19e-4785-96ed-e1434682490e\stzkys2q.h4q\node_modules\npm\node_modules\fstream-npm\node_modules\fstream-ignore\node_modules\minimatch\node_modules\brace-expansion\node_modules\balanced-match\.npmignore'.

1 个答案:

答案 0 :(得分:0)

我认为你碰到了最大路径长度为260个字符: 这解释了:  Why does the 260 character path length limit exist in Windows?