I'm trying to use grunt with sass and have been following these guides:
I've:
Intsalled node.js
Installed the command-line version of grunt:
sudo npm install -g grunt -cliAdded the path from the grunt installer to my bash profile:
export PATH=/usr/local/lib/node_modules/grunt/bin:$PATHMade the profile an executable:
source ~/.bash_profileSetup
package.jsonandGruntfile.jsfiles in my project rootInstalled grunt into the project:
cd /path/to/project/root/andsudo npm install
But when I try to run grunt I see: command not found
It's the same if I run: grunt --version
I wasn't sure if the bash path needs /bin on the end as per the blog posted above but have tried it both ways:
/usr/local/lib/node_modules/grunt/ and /usr/local/lib/node_modules/grunt/bin/
I've also run the grunt installer several times but didn't see any errors so am positive it's installed - can anyone see what I'm doing wrong? I'm running OSX mavericks incase this is the issue.
Any pointers in the right direction would be much appreciated.
Cheers