berfarah / LESS-build-sublime

Less build sytem for Sublime Text 2
Apache License 2.0
91 stars 14 forks source link

not working on Mac OSX #8

Open Granze opened 12 years ago

Granze commented 12 years ago

Hi, I'm not able to get the plugin working on mac osx 10.7.4 with Sublime 2181. I've installed less via npm and I've added it to the $PATH

The error I get is: [Errno 2] No such file or directory

jess-sol commented 12 years ago

Hi @Granze, Could you confirm this issue in the newest version of the package?

Thanks

sergiop commented 12 years ago

I get the same error. OSX 10.7.4, Sublime Text 2.0.1 Build 2217 with the newest version fo the package.

mshick commented 12 years ago

Same here.

OSX 10.8.2, latest ST2 nightly, latest, freshly installed package.

Command-line lessc is working fine.

james2doyle commented 12 years ago

I fixed my errors by changing my path in the osx path object. Open the LESS-normal.sublime-build-choice or the rewriteDir version and change the path to use whatever the appropriate path is. I use Mac Ports so my path is now "/opt/local/bin:$PATH" I assume if you use homebrew it is whatever the brew path is.

nelsonpecora commented 11 years ago

Yep, doesn't work for me either. It doesn't seem to want to use the path I set in my .bash_profile, and it fails if I just set the path manually in LESS-rewriteDir.sublime-build-choice to '/usr/local/share/npm/lib/node_modules/less/bin:$PATH'

EDIT: It seems to work if I manually set the path in both osx: path: and variants: osx: path.