You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error occures when trying to exec haxelib run nme for e.g. It tries to execute run.n neko script and fails.
Same thing with main : Foo.hx in haxelib.json but looks like ENOENT haxe.
There are wrapperlike solutions via it can be fixed crossplatform. How about using something like this one, instead spawn? https://www.npmjs.com/package/cross-spawn
The text was updated successfully, but these errors were encountered:
This error occures when trying to exec
haxelib run nme
for e.g. It tries to executerun.n
neko script and fails.Same thing with
main : Foo.hx
inhaxelib.json
but looks likeENOENT haxe
.After some investigation found that nodejs
spawn
ignores PATHEXT on windows.nodejs/node-v0.x-archive#2318
Changing
neko
toneko.cmd
there https://github.com/lix-pm/haxeshim/blob/master/src/haxeshim/HaxelibCli.hx#L89 fixes this issue.There are wrapperlike solutions via it can be fixed crossplatform. How about using something like this one, instead
spawn
?https://www.npmjs.com/package/cross-spawn
The text was updated successfully, but these errors were encountered: