You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 27, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 27, 2019. It is now read-only.
EDIT: Fixed this by going to TextMate → Preferences → Advanced → Shell Variables and adding /usr/local/bin, basically the path to where node lives on my machine ($which node).
I have node.js installed with brew, but getting this error on Cmd+S. Is that related to this issue?
Ah, this was quite annoying. I have my node install in another place too and had no idea where to start looking to fix this, other than reinstalling Node in one of those directories.
NOTE: you need to remove the last node from which node.
example:
which node returns /Users/foo/local/node/bin/node ( or something similar ) what you put in at the end of your PATH variable in Textmates advanced preferences panel is /Users/foo/local/node/bin
Activity
por commentedon Aug 1, 2011
EDIT: Fixed this by going to TextMate → Preferences → Advanced → Shell Variables and adding
/usr/local/bin, basically the path to where node lives on my machine ($which node).I have node.js installed with brew, but getting this error on Cmd+S. Is that related to this issue?
heygambo commentedon Aug 19, 2011
thx! That really grinded my gears :)
davidcalhoun commentedon Sep 8, 2011
Ah, this was quite annoying. I have my node install in another place too and had no idea where to start looking to fix this, other than reinstalling Node in one of those directories.
heygambo commentedon Sep 20, 2011
I installed Node using Brew and put this into my PATH Shell Variable:
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
kristoferjoseph commentedon Nov 1, 2011
NOTE: you need to remove the last node from which node.
example:
which node returns /Users/foo/local/node/bin/node ( or something similar ) what you put in at the end of your PATH variable in Textmates advanced preferences panel is /Users/foo/local/node/bin
dtan commentedon Nov 12, 2011
I'm still having issues with the "JSHint" pop up dialog box when saving a js file
I have node installed in
/usr/local/lib/node. I also added that to my TextMate's PATH variable but that pop up is still showing that error.kristoferjoseph commentedon Nov 13, 2011
Path needs to be set in TM path as /usr/local/lib/node/bin. At least that was what worked for me.
dtan commentedon Nov 13, 2011
pointing it to
/usr/local/lib/node/binstill doesn't work for me. in the interim, i've just disabled the JSHint keyboard shortcutsimonwheatley commentedon Dec 18, 2011
I installed on Macports by:
sudo port install nodejsPATHvariable, so I double clicked on the value and appended:/opt/local/binWorked straightaway for me. YMMV.
Laner commentedon Jan 27, 2012
I used homebrew. And none of the above paths work :(
subtleGradient commentedon Jan 27, 2012
Now that node.js has a proper Mac installer, I highly recommend that everyone install it that way.
Laner commentedon Feb 1, 2012
Great!
But to no avail. Installed it this way, but no go in Textmate :(
subtleGradient commentedon Feb 3, 2012
@Laner
echo $PATHMine returns…
If you don't have
/usr/local/binin your$PATHthen you have something goofed up in your bash profile somehow.tl;dr — make it work in the Terminal and it should Just Work™ in TextMate
Laner commentedon Feb 5, 2012
Hmmm. /usr/local/bin is in the path. Weird. All I want is something like labs.codecademy.com for my mac. Any suggestions?
subtleGradient commentedon Feb 9, 2012
@Laner this bundle doesn't really do anything quite like that.
Laner commentedon Mar 21, 2012
@subtleGradient To bad. But is there a way to test run js from textmate and get console.logs and alert/prompts?
subtleGradient commentedon Mar 21, 2012
Oh of course. I have various Run JavaScript commands that execute code in WebKit or Node.js or even PhantomJS.
Laner commentedon Mar 21, 2012
I can't get node.js to work.
How do I run js through webkit, if you don't mind me asking
subtleGradient commentedon Jul 3, 2012
That's in a different bundle