nicosantangelo / sublime-gulp

Run Gulp tasks and use snippets from Sublime Text
https://sublime-gulp.nicosantangelo.com/
MIT License
155 stars 18 forks source link

"node" command not found #15

Closed alfredbez closed 9 years ago

alfredbez commented 9 years ago

"Command Palette" > "Gulp" show an error:

screenshot 2014-12-18 14 01 04

nodejs is installed and in my PATH:

screenshot 2014-12-18 14 01 33

nicosantangelo commented 9 years ago

Seems like Sublime isn't reporting your PATH correctly. Try the following

  1. Install SublimeFixMacPath which seems to fix PATH issues in MacOS
  2. If that still doesn't you can override the PATH used by the package manually. Open Preferences -> Package Settings -> Gulp -> Settings - User and add the following:
{
    "exec_args": {
        "path": "/bin:/usr/bin:/usr/local/bin"
    }
}

Let me know!

alfredbez commented 9 years ago

Hi @NicoSantangelo SublimeFixMacPath does the trick, thank!