What is causing this error - “Fatal error: Unable to find local grunt”

前端 未结 13 654
夕颜
夕颜 2020-11-27 09:21

I removed the old version of grunt first, then I installed the new grunt version, and then I got this error:

D:\\www\\grunt-test\\grunt grunt-cli: The

13条回答
  •  一整个雨季
    2020-11-27 09:39

    I had the same issue in Vagrant.

    I have used sudo to run the command to install.

    sudo npm install -g grunt-cli
    

    It worked for me.

提交回复
热议问题