grunt: command not found when running from terminal

user686483

I'm new to Grunt. I'm trying to configure Grunt on my Mac OSX Lion.

I followed the instructions here and then created a project folder that contains the files below. When I try to run by typing "grunt" into terminal I get command not found. I've also modified my paths sudo nano /etc/paths in the hope that adding the path would make the task runner work but it's still not working. Can someone assist with this please?

---paths

/usr/bin 
/bin
/usr/sbin
/sbin
/usr/local/bin
/usr/local/bin/grunt


--- files
node modules
Gruntfile.js
package.json
nschonni

I'm guessing you used Brew to install Node, so the guide here might be helpful http://madebyhoundstooth.com/blog/install-node-with-homebrew-on-os-x/.

You need to ensure that the npm/bin is in your path as it describes export PATH="/usr/local/share/npm/bin:$PATH". This is the location that npm will install the bin stubs for the installed packages.


The nano version will also work as described here http://architectryan.com/2012/10/02/add-to-the-path-on-mac-os-x-mountain-lion/ but a restart of Terminal may be required to have the new path picked up.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

setClass not found when running R script from command line

From Dev

grunt: command not found

From Dev

-bash: grunt: command not found

From Dev

yodoctor: command not found when installing yo from terminal

From Dev

fastlane: command not found when running from launchtl job

From Dev

Docker ERROR: Container command not found or does not exist when running from Win10

From Dev

Command showing different behaviour when running from terminal and when Using as Shortcut

From Dev

Running a program from terminal, "command not found"

From Dev

"command not found" when running a script via cron

From Dev

Command showing different behaviour when running from terminal and when Using as Shortcut

From Dev

Running a program from terminal, "command not found"

From Dev

setClass not found when running R script from command line

From Dev

Running MySql command from terminal not working

From Dev

Mac Terminal Foreach Command Not Found While Running Shell Script

From Dev

How to keep running a process in Android when disconnecting adb terminal? command "nohup" not found

From Dev

Python3: command not found, when running from cli

From Dev

"command not found" when running "lessc" from bash

From Dev

-bash: 400:: command not found when open terminal

From Dev

Command found only when used with `sudo` in terminal

From Dev

Alias command not found when running .bashrc

From Dev

'command not found' error when running shell script

From Dev

command not found error on Mac when running mfp from command line

From Dev

(Windows Terminal) How to stop double printing of current working directory when running a command from a doskey macro file?

From Dev

Rename command not found when running a script

From Dev

command not found when running in docker bash script

From Dev

"command not found" when running a script via cron

From Dev

remove output header and footer when running a grunt command

From Dev

sh: 1: program not found occurs when running a Terminal command via Python, but directly entering the command in the Terminal works fine

From Dev

pyenv command not found when running with sudo

Related Related

  1. 1

    setClass not found when running R script from command line

  2. 2

    grunt: command not found

  3. 3

    -bash: grunt: command not found

  4. 4

    yodoctor: command not found when installing yo from terminal

  5. 5

    fastlane: command not found when running from launchtl job

  6. 6

    Docker ERROR: Container command not found or does not exist when running from Win10

  7. 7

    Command showing different behaviour when running from terminal and when Using as Shortcut

  8. 8

    Running a program from terminal, "command not found"

  9. 9

    "command not found" when running a script via cron

  10. 10

    Command showing different behaviour when running from terminal and when Using as Shortcut

  11. 11

    Running a program from terminal, "command not found"

  12. 12

    setClass not found when running R script from command line

  13. 13

    Running MySql command from terminal not working

  14. 14

    Mac Terminal Foreach Command Not Found While Running Shell Script

  15. 15

    How to keep running a process in Android when disconnecting adb terminal? command "nohup" not found

  16. 16

    Python3: command not found, when running from cli

  17. 17

    "command not found" when running "lessc" from bash

  18. 18

    -bash: 400:: command not found when open terminal

  19. 19

    Command found only when used with `sudo` in terminal

  20. 20

    Alias command not found when running .bashrc

  21. 21

    'command not found' error when running shell script

  22. 22

    command not found error on Mac when running mfp from command line

  23. 23

    (Windows Terminal) How to stop double printing of current working directory when running a command from a doskey macro file?

  24. 24

    Rename command not found when running a script

  25. 25

    command not found when running in docker bash script

  26. 26

    "command not found" when running a script via cron

  27. 27

    remove output header and footer when running a grunt command

  28. 28

    sh: 1: program not found occurs when running a Terminal command via Python, but directly entering the command in the Terminal works fine

  29. 29

    pyenv command not found when running with sudo

HotTag

Archive