elicwhite / SublimeJSCSFormatter

Sublime Text 3 Plugin to Autoformat with JSCS
MIT License
78 stars 9 forks source link

Windows : unable to change JSCS path #31

Open borisschapira opened 9 years ago

borisschapira commented 9 years ago

Hi, I would like to change JSCS path from

%APPDATA%/npm/node_modules/jscs/bin/jscs

to

%PROGRAMFILES%/node/node_modules/jscs/bin/jscs

but when I do it, it throws an error telling me that it's unable to find jscs in "c:\program". My 2 cents : the space in "Program Files" is not escaped.

borisschapira commented 9 years ago

Workaround for others with the same issue : building a symlink from %APPDATA%/npm/node_modules to %PROGRAMFILES%/node/node_modules with a administrator level CMD and the command mklink /d.