1

I created a fork of angularJs and I'm trying to build it. Unfortunately this fails when I run grunt package

npm -v --> 3.5.2

bower --version --> 1.7.2

I followed the Documentation to build angular:

$ npm install
$ bower install
$ grunt package

But I'm getting this error:

grunt-cli: The grunt command line interface. (v0.1.13)

Fatal error: Unable to find local grunt.

If you're seeing this message, either a Gruntfile wasn't found or grunt
hasn't been installed locally to your project. For more information about
installing and configuring grunt, please see the Getting Started guide:

http://gruntjs.com/getting-started

Did I forget something?

yeouuu
  • 1,863
  • 3
  • 15
  • 32

1 Answers1

1

Apparently it has something todo with npm 3.5.4 because I was getting a cache error with this version.

But after downgrading to npm 2.x everything worked perfectly.

yeouuu
  • 1,863
  • 3
  • 15
  • 32