'grunt' is not recognized as an internal or external command for some windows users

前端 未结 6 2198
囚心锁ツ
囚心锁ツ 2021-02-11 15:00

Grunt is not working for all Windows users. Some users are facing some issues, when I run npm install command; it prints a message as below.

E:\\Wor         


        
6条回答
  •  半阙折子戏
    2021-02-11 15:08

    Grunt-CLI is installed inside %AppData%\npm, so the best directory to add to your %PATH% is:

    %AppData%\npm
    

提交回复
热议问题