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

No executable when installing luacheck via npm on Mac OSX? #179

Closed
martin-braun opened this issue Sep 17, 2018 · 4 comments
Closed

No executable when installing luacheck via npm on Mac OSX? #179

martin-braun opened this issue Sep 17, 2018 · 4 comments

Comments

@martin-braun
Copy link

A Visual Studio extension requires luacheck to be a global executable command on my MacBook. I went ahead installing luacheck via npm install -g luacheck, but I don't get any bin link so I could use it on the Terminal and thus can be used by that extension. Instead all it does is installing the lib files so I can require luacheck within any JS app.

Is there a way to get it as executable on Mac OSX? I've seen there is only a bat file for Windows users. Any help is appreciated.

@martin-braun martin-braun changed the title No executable with installing luacheck via npm on Mac OSX? No executable when installing luacheck via npm on Mac OSX? Sep 17, 2018
@mpeterv
Copy link
Owner

mpeterv commented Sep 18, 2018

luacheck npm package is just a wrapper on top of luacheck CLI. Have you tried installing luacheck CLI via Luarocks? Either way, I'll try to make a binary build for Mac OS.

@mpeterv
Copy link
Owner

mpeterv commented Sep 18, 2018

Apparently crossccompiling to Macos is pretty complicated, splitting that into #180. IIRC Luarocks should work pretty well on Mac.

@martin-braun
Copy link
Author

martin-braun commented Sep 18, 2018

Thank you, how could I not think about LuaRocks? Works!

@ZanderDev
Copy link

Looking forward to a binary build for Mac OS.

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

3 participants