billymoon / Stylus

Stylus Package for Sublime Text 2 / 3
Other
129 stars 31 forks source link

fix build on windows #3

Closed kbartek closed 12 years ago

kbartek commented 12 years ago

It works like a charm on windows 7. Should work on vista as well. I tried to test it under windows xp in VM but build command didn't work even for built-in languages like python so I think XP just isn't supported by sublime text.

billymoon commented 12 years ago

Thanks for the testing. It would be nice to get some confirmation about XP. I suspect it is something to do with the environment's %PATH% variable needing to hold values for all the relevant binaries.

kbartek commented 12 years ago

I found what caused this. Sublime Text seems to have a problem with handling the PATH variable if it contains non-ascii characters. On my XP installation default username was "Właściciel" (I've got Polish language version) and when I installed node.js, it added directory C:\Documents and Settings\Właściciel\Dane aplikacji\npm, where npm installs node modules, to the PATH. When I created another user and changed the PATH, everything worked fine. The same problem occurs on windows 7 too. I've reported this bug to Sublime Text developer.

billymoon commented 12 years ago

Great - thanks for doing the legwork to get to the bottom of this. I will update the readme.