Skip to content
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

Can't run nme command on Mac #676

Open
zacx-z opened this issue Sep 23, 2020 · 2 comments
Open

Can't run nme command on Mac #676

zacx-z opened this issue Sep 23, 2020 · 2 comments

Comments

@zacx-z
Copy link

zacx-z commented Sep 23, 2020

haxelib run nme outputs "Error: Could not find haxelib "nme", does it need to be installed?" after installing NME.

Tested on two Macs.

haxelib path nme shows:

-L /usr/local/lib/haxe/lib/nme/6,1,1/ndll/
/usr/local/lib/haxe/lib/nme/6,1,1/src/
-D nme=6.1.1

NME version 6.1.1
OSX 10.15.4

(btw links on Wiki page are broken)

@hughsando
Copy link
Member

'Haxelib run' uses neko to run the build script that is in the root of the nme repo (run.n).
You can test this manually to give a hint of what may be failing:

cd /usr/local/lib/haxe/lib/nme/6,1,1/
neko run.n `pwd`

The last arg is the directory you would normally try to run nme from, but this should do for testing.
I'm guessing it might be neko that is out of date - but possibly haxe too. What versions do you have?

@zacx-z
Copy link
Author

zacx-z commented Sep 24, 2020

I actually just installed Haxe from HomeBrew. Here's what I got:

09/23/20 ~ % haxe --version
4.1.0
09/24/20 ~ % cd /usr/local/lib/haxe/lib/nme/6,1,1/
09/24/20 /usr/local/lib/haxe/lib/nme/6,1,1 % neko run.n `pwd`
Error: Could not find haxelib "nme", does it need to be installed?
09/24/20 /usr/local/lib/haxe/lib/nme/6,1,1 % neko
NekoVM 2.3.0 (c)2005-2017 Haxe Foundation
  Usage : neko <file>
09/24/20 /usr/local/lib/haxe/lib/nme/6,1,1 % haxelib upgrade neko
Failed with error: No such Project : neko
neko is up to date

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants