subtleGradient / javascript-tools.tmbundle

Essential Tools for developing Javascript in TextMate
602 stars 53 forks source link

Could not find node #5

Closed rkjaer closed 13 years ago

rkjaer commented 13 years ago

I installed this in a clean install of TextMate on OS X Lion (Node.js installed, too), but when saving a .js file with ⌘S I get an error saying that node was not found, and a list of path's where it looked for it.

Is this a known issue?

Thanks!

jerrod commented 13 years ago

Seems duplicative - but you can add your PATH to the Textmate Shell Variables and this will fix the issue.

Textmate -> Preferences -> Advanced

Add a new entry with the first field being PATH and the second one being your path from your .bash_profile or .zshrc, whichever you use.

Just remember if you change your PATH on your system you'll need to also change it in text mate.

rkjaer commented 13 years ago

Fixing PATH in shell variables did not fix my issue. However, installing node.js via homebrew fixed my problem right away – so my problem might have been caused by a bad install of node on my system.

Thanks, and keep up the good work! :)