8

Grunt をインストールしようとしています。grunt を実行すると、次のメッセージと警告のリストが表示されます。

Local Npm module "grunt-contrib-copy" not found.  Is it installed?
Local Npm module "grunt-contrib-uglify" not found.  Is it installed?
Local Npm module "grunt-contrib-jshint" not found.  Is it installed?
Local Npm module "grunt-contrib-less" not found.  Is it installed?
Local Npm module "grunt-contrib-clean" not found.  Is it installed?
Local Npm module "grunt-contrib-watch" not found.  Is it installed?
Local Npm module "grunt-contrib-concurrent" not found.  Is it installed?
Local Npm module "grunt-contrib-nodemon" not found.  Is it installed?
Local Npm module "grunt-contrib-newer" not found.  Is it installed?
Warning: Task "copy:vendor" not found. Use --force to continue.
Aborted due to warnings.

「npm install」、「npm install grunt --save-dev」、「grunt init:node」を試しました。問題を解決します。うまくいきませんでした。誰でも助けることができますか?ありがとう。

4

3 に答える 3

0

私の場合、 奇数node_modulesの親ディレクトリにあったgruntFile.js
ので、役立つかもしれません

于 2019-01-08T14:11:50.870 に答える