Grunt on Windows 8: 'grunt' is not recognized

前端 未结 11 2015
刺人心
刺人心 2020-11-29 01:07

I\'m having a problem running Grunt from the command line on my Windows 8 machine.

My research indicates the most common solution is to install grunt-cli, since Gru

11条回答
  •  南笙
    南笙 (楼主)
    2020-11-29 01:26

    Confirm your PATH is correct (and not messed up). Just type PATH from the command prompt. There's really no other explanation that makes sense given the error you're describing and the steps you've taken.

    Normally, using the where grunt command would have found grunt.cmd in your path if npm is installed correctly and it has been properly added to the system path.

提交回复
热议问题