-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI app doesn't work in Windows #48
Comments
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? |
Could you please point me to the working on WIndows version of transpiler's CLI script? |
v0.7.16 all fine, @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, @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? What environment do you use? |
OK, I'll get it, thanks! |
@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
The text was updated successfully, but these errors were encountered: