Bower, Grunt & zsh: command not found:

前端 未结 6 505
忘了有多久
忘了有多久 2021-02-01 21:08

I have installed Grunt & Bower & I\'m using ZSH.

when I type bower --help or grunt anything I get zsh: command not found: bower

6条回答
  •  不知归路
    2021-02-01 21:35

    I used yarn instead of npm:

    yarn add grunt grunt-cli
    yarn grunt
    

    It worked for me. Hopefully, it will help someone else :)

提交回复
热议问题