0

(beginner post)(OS : mac)

I just install grunt on my local, and edit my "Gruntfile.js" in my project and when I try this :

grunt -v

It return :

Fatal error: Unable to find local grunt.

I'm well in my project and no problem for install using this :

npm install -g grunt-cli

I miss something ?

Thk for time.

Jonathan Hall
  • 75,165
  • 16
  • 143
  • 189
BobRock
  • 21
  • 1
  • 7
  • 1
    have you tried `npm install -g grunt`? – wayneOS Jun 12 '18 at 10:51
  • 1
    Possible duplicate of [Grunt concat failing with "Unable to find local grunt"](https://stackoverflow.com/questions/15694121/grunt-concat-failing-with-unable-to-find-local-grunt) – RobC Jun 12 '18 at 10:56

0 Answers0