本地Npm模块" grunt-parallel"未找到。它安装了吗?

时间:2015-11-24 10:21:10

标签: gruntjs npm

更新到node5和npm3后,我收到了运行grunt的警告:

Local Npm module "grunt-parallel" not found. Is it installed?

我没有使用grunt-parallel,并且想知道出现此警告的原因。

我们在项目中使用的模块集:



var modules = {
         "MD5": "~1.2.1",
        "bower": "~1.4.1",
        "chai": "~1.9.1",
        "colors": "~0.6.2",
        "express": "~3.4.8",
        "grunt": "~0.4.5",
        "grunt-cli": "~0.1.13",
        "grunt-contrib-clean": "~0.5.0",
        "grunt-contrib-compass": "~0.7.2",
        "grunt-contrib-concat": "~0.3.0",
        "grunt-contrib-copy": "~0.5.0",
        "grunt-contrib-cssmin": "~0.10.0",
        "grunt-contrib-jshint": "^0.10.0",
        "grunt-contrib-uglify": "~0.5.0",
        "grunt-contrib-watch": "~0.5.3",
        "grunt-express": "~1.2.1",
        "grunt-grunticon": "^1.2.3",
        "grunt-html2js": "~0.2.4",
        "grunt-jslinker": "~0.1.5",
        "grunt-json": "^0.1.3",
        "grunt-karma": "~0.8.3",
        "grunt-ng-annotate": "~0.2.3",
        "grunt-open": "~0.2.3",
        "grunt-protractor-runner": "~1.1.4",
        "grunt-replace": "~0.7.8",
        "karma": "~0.12.17",
        "karma-chai": "~0.1.0",
        "karma-chrome-launcher": "~0.1.4",
        "karma-coverage": "~0.2.4",
        "karma-mocha": "~0.1.6",
        "karma-phantomjs-launcher": "~0.1.4",
        "karma-sinon": "~1.0.3",
        "load-grunt-tasks": "~0.6.0",
        "method-override": "^2.0.2",
        "mocha": "~1.20.1",
        "protractor": "~2.0.0",
        "request": "^2.40.0",
        "sinon": "~1.10.3",
        "grunt-aws-s3": "^0.14.0",
        "grunt-contrib-compress": "^0.13.0",
        "grunt-git-rev-parse": "~0.1.4"
      };




1 个答案:

答案 0 :(得分:2)

问题在于旧版本的grunt-express。