Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

git-bash for windows: lumo-cljs/bin/lumo is not excutable #142

Closed
gzmask opened this issue Apr 25, 2017 · 2 comments · Fixed by #152
Closed

git-bash for windows: lumo-cljs/bin/lumo is not excutable #142

gzmask opened this issue Apr 25, 2017 · 2 comments · Fixed by #152

Comments

@gzmask
Copy link

gzmask commented Apr 25, 2017

$ lumo -v
~/AppData/Roaming/npm/node_modules/lumo-cljs/bin/lumo: line 1: /lumo.exe: No such file or directory

in lumo:
"$basedir/lumo.exe"

I guess git-bash duno what $basedir is.

@gzmask
Copy link
Author

gzmask commented Apr 25, 2017

a temporary fix will be change npm/lumo to be(not the one in bin folder):

#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")

case `uname` in
    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac

"$basedir/node_modules/lumo-cljs/bin/lumo.exe" "$@"
ret=$?
exit $ret

@gzmask gzmask changed the title mingw lumo-cljs/bin/lumo is not excutable git-bash for windows: lumo-cljs/bin/lumo is not excutable Apr 25, 2017
@anmonteiro
Copy link
Owner

The problem here is that the npm/lumo file is automatically generated by NPM.

I remember trying to make it work with both MinGW and cmd.exe / Powershell and ultimately deciding to only support the latter as I couldn't make both work.

I'm open to any suggestions you may have.

anmonteiro added a commit that referenced this issue May 3, 2017
also bump prettier to 1.3.0

fixes #142
anmonteiro added a commit that referenced this issue May 3, 2017
also bump prettier to 1.3.0

fixes #142
anmonteiro added a commit that referenced this issue May 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants