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

throws error about gulp path #13

Closed lombardi-gux closed 9 years ago

lombardi-gux commented 9 years ago

First time I tried running plugin, I got an error that Gulp was not installed. So, after Googling I ran sudo ln -s /usr/local/bin/node /usr/bin/node which had worked for me in other cases.

This time, the plugin ran, opened the control panel, but then when I clicked "default" in the tasks list I get: /bin/sh: gulp: command not found

nicosantangelo commented 9 years ago

Which OS are you using? (it seems dalcib/brackets-gulp#1 has the same problem)

nicosantangelo commented 9 years ago

Any news on this?

nicosantangelo commented 9 years ago

I'm closing this for now, if you have any news let me know!.

If you want you can try an option listed in this comment

alextegelid commented 8 years ago

Sorry to bump an old issue but I'm experiencing this now. Gulp runs fine in the terminal but not from within Sublime.

Panel output:

Running 'default'...
/bin/sh: gulp: command not found

I've tried with and without this in Gulp.sublime-settings:

"exec_args": {
    "path": "/bin:/usr/bin:/usr/local/bin"
}

And I've had SublimeFixMacPath installed for the past year or so, so that shouldn't be the problem.

I'm running OSX El Capitan 10.11.5 with Sublime Text 3 (Stable channel 3114)

image image

alextegelid commented 8 years ago

I should mention that it ran just fine earlier today but stopped after a restart of Sublime Text (unrelated to Gulp)

alextegelid commented 8 years ago

Oh I remember now. I quit Sublime Text to se if the running tasks would be killed as well. When they weren't I killed the gulp process manually and then started Sublime Text again. And from that restart the Gulp package didn't work anymore

nicosantangelo commented 8 years ago

Hello!

First of all, if you didn't gave it a try, you can use gulp_exit to kill your tasks on quit.

Going to the problem itself, it's really weird. The package doesn't do anything different with the path with or without running tasks.

Just to try something out, did you remove your .sublime-gulp.cache file before trying again?

alextegelid commented 8 years ago

Yeah, I'll probably end up with binding a key shortcut to gulp_exit. Thanks!

I tried removing the cache file twice, once through the remove cache command and once by manually removing the file in the terminal