windies17
windies17

Reputation: 59

grunt serve not working

Hi looking for some help. I have installed

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

when I go to test it on server using grunt serve, I get this response

-bash: grunt: command not found

don't know what i'm doing wrong

Any help greatly appreciated

Upvotes: 3

Views: 9059

Answers (3)

windies17
windies17

Reputation: 59

Sorted Thanks Folks for all the help

Solution

1) npm install -g bower 2) in the file app I was using install bower

Upvotes: 0

Jarema
Jarema

Reputation: 3586

Installing npm install grunt is not enough. It just installs local grunt. You also need grunt-cli installed to use grunt command. To do that, input:

npm install -g grunt-cli

Upvotes: 1

You need to install the command line utility for Grunt.

npm install -g grunt-cli

You might need to run it with sudo

Upvotes: 5

Related Questions