Does not work

Hi, I need help. I have installed

  • node.js
  • yeoman 3.angular
  • npm install -g generator-webapp

when i go to test it on the server using a grunt service i get this response

- bash: grunt: command not found

don't know what i am doing wrong

Any help is greatly appreciated

+3


source to share


3 answers


You need to install the command line utility for Grunt.

npm install -g grunt-cli



You may need to run it with sudo

+5


source


Installing rpm install grunt isn't enough. It just sets up a local grunt. You also need to have grunt-cli installed in order to use the grunt command. To do this, enter:



npm install -g grunt-cli

      

+1


source


Sorted thanks people for all the help

Decision

1) npm install -g bower 2) in file app I used install bower

0


source







All Articles