咕噜声“Gruntfile.js”任务...错误

Upp*_*ppi 2 javascript amazon-ec2 node.js npm gruntjs

    pm WARN EPACKAGEJSON partnerportal@0.0.0 No description
    npm WARN EPACKAGEJSON partnerportal@0.0.0 No license field.
    >> Local Npm module "grunt-autoprefixer" not found. Is it installed?
    >> Local Npm module "grunt-concurrent" not found. Is it installed?
    >> Local Npm module "grunt-contrib-concat" not found. Is it installed?
    >> Local Npm module "grunt-contrib-connect" not found. Is it installed?
    >> Local Npm module "grunt-contrib-htmlmin" not found. Is it installed?
    >> Local Npm module "grunt-contrib-jshint" not found. Is it installed?
    >> Local Npm module "grunt-contrib-uglify" not found. Is it installed?
    >> Local Npm module "grunt-contrib-watch" not found. Is it installed?
    >> Local Npm module "grunt-filerev" not found. Is it installed?
    >> Local Npm module "grunt-google-cdn" not found. Is it installed?
    >> Local Npm module "grunt-karma" not found. Is it installed?
    >> Local Npm module "grunt-newer" not found. Is it installed?
    >> Local Npm module "grunt-ng-annotate" not found. Is it installed?
    >> Local Npm module "grunt-svgmin" not found. Is it installed?
    >> Local Npm module "grunt-usemin" not found. Is it installed?
    >> Local Npm module "grunt-wiredep" not found. Is it installed?
    Loading "Gruntfile.js" tasks...ERROR
    >> Error: Cannot find module 'time-grunt'
Run Code Online (Sandbox Code Playgroud)

新来NPM呼噜声。不确定到底发生了什么?任何想法如何调试?安装NPMBOWER

Ngu*_*Son 5

我认为,npm install在运行grunt. 在正常情况下,构建一个 Grunt App。我们应该按照以下步骤运行:

安装 NPM 包。

cd to_root_project_path

npm install
Run Code Online (Sandbox Code Playgroud)

安装 Bower 包

bower install
Run Code Online (Sandbox Code Playgroud)

最后,运行 grunt 尝试