-
Notifications
You must be signed in to change notification settings - Fork 133
Closed
Labels
Description
Issue:
I installed spago using NPM, and when I try to run spago from a cygwin terminal, I get the following:
$ spago --version
/cygdrive/c/Users/user/AppData/Roaming/npm/spago: line 8: C:\Users\user\AppData\Roaming\npm/node_modules/spago/spago: cannot execute binary file: Exec format error
/cygdrive/c/Users/user/AppData/Roaming/npm/spago: line 8: exec: C:\Users\user\AppData\Roaming\npm/node_modules/spago/spago: cannot execute: Permission denied
I can circumvent the issue by manually modifying the "C:\Users\user\AppData\Roaming\npm/node_modules/spago/spago" file to use the "spago.exe" instead of "spago".
I believe the root issue is that the "C:\Users\user\AppData\Roaming\npm/node_modules/spago/spago" file is an ELF file and Cygwin cannot execute that.
Desired Behavior:
Spago can be installed using NPM and run from a Cygwin terminal without modification.