im trying to create on my linux environment the yeoman angular generator, whenever i execute yo angular webapp
, an error on the output that says
Fatal error: Unable to find local grunt.
and when i search for grunt
on my linux environment via find / -name "grunt"
this is the output
/root/.npm/registry.npmjs.org/grunt /root/.npm/grunt /root/sites/node_modules/grunt /root/sites/node_modules/grunt/lib/grunt /tmp/npm-2302-5b275c10/registry.npmjs.org/grunt /tmp/npm-11975-b7813b65/registry.npmjs.org/grunt /usr/bin/grunt /usr/lib/node_modules/grunt /usr/lib/node_modules/grunt/bin/grunt /usr/lib/node_modules/grunt/lib/grunt /usr/lib/node_modules/grunt-cli/bin/grunt
Now, im confused because i've installed Grunt globally how come it will search it for the local copy, why not use the global grunt i just installed?