I installed node v0.8.14 on Mac OS 10.7.5. Then I installed Grunt with npm install -g grunt .
npm install -g grunt
Node works fine, Grunt doesn't. He continues to say: -bash: exec: grunt: not found
-bash: exec: grunt: not found
Any idea what I am missing?
By default, npm is installed in / usr / local. Try /usr/local/bin/grunt in your shell. To just enter grunt , add
/usr/local/bin/grunt
grunt
export PATH="$PATH:/usr/local/bin"
to the ~/.profile file.
~/.profile
Source: https://habr.com/ru/post/1446623/More articles:Javascript split function in chrome gives unexpected results - javascripthttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1446619/cc-how-to-get-size-of-directory-where-path-is-too-long-or-permission-denied&usg=ALkJrhg2QtAdzXgqw27buNmSASW-Uug94QPython Smart date parsing without specified year - pythonWinRT Advertising Alternative to Microsoft Pubcenter - windows-8Codeigniter cache files are not deleted - phpHow to formulate IQueryable to query a recursive database table? - c #PyInstaller batch application works fine in console mode, crashing in window mode - pythonUIBarButtonItem offset - iphoneThe Eclipse ADT plugin version 21 does not compile the workspace โno targets availableโ when everything is correctly configured - androidADT does not load target platforms, even if they are installed. How to fix? - androidAll Articles