私はjquery-validationをVisual Studio 2015のプロジェクトに追加しようとしています。 "jquery-validation"をbower.jsonに追加すると、jquery-validationフォルダがwwwroot/lib/dist /フォルダはありません。jquery-validation missing dist folder
jquery-validationパッケージはビルドする必要があるようですが、ビジュアルスタジオ2015からのビルド方法はわかりません。グラントファイルを右クリックしても、タスクランナーエクスプローラは表示されません。 「:すべてのjscs」タスク:
Running "jscs:all" (jscs) task
Fatal error: Neither config file nor grunt options were defined
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v4.4.0
npm ERR! npm v2.14.20
npm ERR! code ELIFECYCLE
npm ERR! [email protected] prepublish: `grunt`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prepublish script 'grunt'.
npm ERR! This is most likely a problem with the jquery-validation package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! grunt
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs jquery-validation
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls jquery-validation
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! E:\asp.net 5 ef7 bootstrap anygular web app\4-aspdotnet-5-ef7-bootstrap-angular-web-app-m4-exercise-files\after\src\TheWorld\wwwroot\lib\jquery-validation\npm-debug.log
は、私が使用し、「NPMインストール」およびwwwrootに/ libに/ jqueryの検証/フォルダ内の「うなり声」私は後にエラーを取得するには、コマンド・ウィンドウを使用するとしよう
シンプルなものが欠けているはずです!
私はほぼ同じ問題を抱えています。 Gruntはdistフォルダを構築しなければなりませんが、Windowsシステムが260文字以上のパスを構築するのを止めるので失敗します。 – Kirsten
あなたはこの問題を解決する方法を考え出しましたか?私は今それを苦労している。 – WBuck
ここに同じ - どちらの答えも私にとってはうまくいかない - 私はOPと同じエラーが出る – lesscode