“Fatal error: Unable to find local grunt.” when running “grunt” command

前端 未结 7 423
猫巷女王i
猫巷女王i 2021-01-30 08:11

I uninstalled grunt with following command.

npm uninstall -g grunt

Then I again installed grunt with following command.

npm ins         


        
相关标签:
7条回答
  • 2021-01-30 09:02

    I had this issue on my Windows grunt because I installed the 32 bit version of Node on a 64 bit Windows OS. When I installed the 64bit version specifically, it started working.

    0 讨论(0)
提交回复
热议问题