1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

jit-gruntがないといわれる

Posted at

package.jsonにjit-gruntその他が追加されていてますので、npm installで変更を反映しようとしました。

npm install

略
npm WARN package.json jit-grunt@0.8.0 No README data
略

npm installを行いました。次にgruntコマンドを実行しました。

grunt test:unit
Loading "Gruntfile.coffee" tasks...ERROR
>> Error: Cannot find module 'jit-grunt'
Warning: Task "test:unit" not found. Use --force to continue.

Aborted due to warnings.

jit-gruntがないと言われます。

仕方ないのでjit-gruntだけ別に入れてみました。

npm install jit-grunt

略
npm WARN package.json karma-coffee-preprocessor@0.2.1 No README data
略
jit-grunt@0.8.0 node_modules/jit-grunt

もう一度gruntコマンドを試します。

grunt test:unit
Running "test:unit" (test) task

Running "clean:server" (clean) task
Cleaning .tmp...OK
略

今度はうまくいきました。なぜnpm installだけだと入らなかったのでしょうか(^o^;)

1
1
2

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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?