Grunt/JSHint installation error

耗尽温柔 提交于 2019-12-02 09:48:11

According to the information you are giving, you only installed:

  • Node
  • NPM
  • Grunt Client

The error message you are getting is because the dependencies in your package.json are not installed:

    "grunt":"~0.4.2",
    "grunt-contrib-concat": "~0.3.0",
    "grunt-contrib-jshint": "~0.6.3",
    "grunt-contrib-copy": "~0.5.0"

Go to the directory where package.json exist and run npm install. It will install these packages and then try grunt jshint. It is supposed to work.

issue was the file name GruntFile.js, should have been Gruntfile.js

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!