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

'luac' is not recognized as an internal or external command #50

Open
oskar-codes opened this issue Feb 8, 2020 · 0 comments
Open

'luac' is not recognized as an internal or external command #50

oskar-codes opened this issue Feb 8, 2020 · 0 comments

Comments

@oskar-codes
Copy link

After downloading and building Lua 5.1, I ended up with the files lua.exe, and lua51.dll. Then I tried to run moonshine distil on a simple hello.lua file, which ran into an error, saying that luac is not recognized as an internal command. The thrown error comes from ./moonshine/bin/commands/distil.js at line 163. I guess that's normal considering I didn't get any luac.exe file after building Lua 5.1.

But what I noticed is that I do get the luac.exe file when building the latest version of Lua, 5.3.5, but when I try to run moonshine with that Lua version, it says that only 5.1 is supported by moonshine.
So my question is how can I get this luac.exe file in order to execute luac commands?

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

1 participant