Closed mcandre closed 9 years ago
This has nothing to do with grunt-cli, but rather your terminal not finding the grunt-cli binary.
My terminal CAN find grunt-cli (grunt
), that is not the problem.
grunt-cli is failing to load the proper NPM PATH before attempting to run commands.
As a command line user, I like being able to define make-like dependency task trees with Grunt.
I used to be able to do this in my Gruntfile.js, but after upgrading my nvm to nvm v0.23.3, this on longer works. Attempts to execute jshint with
grunt jshint
now fail withcommand not found
, due to grunt-cli failing to connect the NPM PATHs to the Node package binaries.How can we get grunt-cli to automatically pull in NPM PATHs so that grunt-cli can once again run Node package binaries?