Grunt で jQuery をビルドしようとすると、次の警告が表示されます。
"Warning: You need to run this command from the toplevel of the working tree. Use --force to continue."
私のプロジェクトは次のように構成されており、jquery フォルダー内から grunt を実行しています。
/myProject /コンポーネント /jquery
いくつかのフォルダーを /myProject に移動して実行すると、次のようgrunt
になります。
"Warning: Task "default" not found. Use --force to continue."
ランニングgrunt --gruntfile components/jquery/Gruntfile.js
もあまり効果がありません。
私は何を間違っていますか?
grunt-cli v0.1.6 + grunt v0.4.0rc5 をインストールしました。jquery npm の依存関係もすべてインストールしました。