Open kobezzza opened 10 years ago
The CLI script in the transpiler project assumes that you have a POSIX environment. Windows does not comply this standards by default. Write the wrapper by yourself or try to use the Cygwin environment or something similar.
Why? In previous version es6-transpiler all works fine.
Could you please point me to the working on WIndows version of transpiler's CLI script?
Where did you get es6-transpiler.cmd? You have /bin/sh
in your system? What environment do you use?
v0.7.16 all fine, node_modules/.bin/es6-transpiler.cmd
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\es6-transpiler\build\es5\es6toes5" %*
) ELSE (
node "%~dp0\..\es6-transpiler\build\es5\es6toes5" %*
)
v0.7.16-2 error, node_modules/.bin/es6-transpiler.cmd
@IF EXIST "%~dp0\/bin/sh.exe" (
"%~dp0\/bin/sh.exe" "%~dp0\node_modules\es6-transpiler\build\es5\es6toes5" %*
) ELSE (
/bin/sh "%~dp0\node_modules\es6-transpiler\build\es5\es6toes5" %*
)
You have /bin/sh in your system? No.
What environment do you use? Windows 7, WebStorm FileWatcher.
OK, I'll get it, thanks! It's some of npm's generated stuff. Will think how to fix this without breaking unix systems support.
@raiden-dev I would be very grateful if you can fix this behavior. Personally I am using a Cygwin on Windows so I don't have such problem.
es6-transpiler.cmd
After fix
all works fine