How to install grunt and how to build script with it

前端 未结 4 1821
傲寒
傲寒 2020-12-04 05:33

Hi I\'m trying to install Grunt on Windows 7 64 bit. I have installed Grunt using commands

 npm install -g grunt
 npm install -g grunt-cli

4条回答
  •  一向
    一向 (楼主)
    2020-12-04 05:50

    I got the same issue, but i solved it with changing my Grunt.js to Gruntfile.js Check your file name before typing grunt.cmd on windows cmd (if you're using windows).

提交回复
热议问题