2016-04-11 21 views
0

私はGulpをVisual Studioで角型アプリケーションとして実行しようとしています。私は、エラーを理解し、ガルプライブラリのフォルダ構造があまりにも長いですが、私はガルプや他のがぶ飲みライブラリを使用できるように、誰もがこの問題を回避するに運があったことをVisual StudioとGulp

Cannot evaluate the item metadata "%(FullPath)". The item metadata "%(FullPath)" cannot be applied to the path 
"node_modules\gulp\node_modules\gulp-util\node_modules\dateformat\node_modules\meow\node_modules\normalize-package-data\node_modules\ 
hosted-git-info\test\bitbucket-https-with-embedded-auth.js". C:\Users\AIUZS03\Documents\Visual Studio 2015\Projects\MacroGraph\MacroGraph\ 
node_modules\gulp\node_modules\gulp-util\node_modules\dateformat\node_modules\meow\node_modules\normalize-package-data\node_modules\ 
hosted-git-info\test\bitbucket-https-with-embedded-auth.js 

:残念ながら、私はこのエラーを取得していますか?ありがとう!

答えて

2

これは既知の問題です。 msbuildは、260文字を超えるパスに問題があります。あなたの特定の問題は、npm dedupeを使ってnpmの依存関係を平坦化することで避けることができます。

参考:助けをhttps://docs.npmjs.com/cli/dedupe

+0

感謝。私はこれを調べて、NPMとノードのアップグレードを終了しました。これが私の問題を解決しました。新しいバージョンのNPMでは、終わりのない階層は作成されず、そのすべてがルートにあります。 – user3726393

+1

これはmsbuildの問題ではなく、Windowsの問題です。 Windowsは260文字を超えるファイルパスをサポートしていません。 –

関連する問題