grunt: command not found when running from terminal

后端 未结 6 1736
礼貌的吻别
礼貌的吻别 2020-12-23 08:58

I\'m new to Grunt. I\'m trying to configure Grunt on my Mac OSX Lion.

I followed the instructions here and then created a project folder that contains the files bel

6条回答
  •  离开以前
    2020-12-23 09:18

    Also on OS X (El Capitan), been having this same issue all morning.

    I was running the command "npm install -g grunt-cli" command from within a directory where my project was.

    I tried again from my home directory (i.e. 'cd ~') and it installed as before, except now I can run the grunt command and it is recognised.

提交回复
热议问题