LoginSignup
13
10

More than 5 years have passed since last update.

grunt を実行したけど、tasks ERROR が出て、にっちもさっちもな場合

Last updated at Posted at 2014-09-21

次のようにGrantfileにタスクがエラーとか言われる。

Loading "Gruntfile.js" tasks...ERROR
Error: Cannot find module 'load-grunt-tasks'
Warning: Task "default" not found. Use --force to continue.

どうにもバージョンが違うのが原因らしい。

次の手順でアップデートして解決
$ npm update npm -g
or
$ sudo npm update npm -g

$ npm install
or
$ sudo npm install

仕上げに、念のため再度bower
$ bower install

13
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
13
10