Closed HolterPhylo closed 3 years ago
have you tried running the command with the --verbose
option? That might show the culprit.
thanks, I'll try!
Did in cmd: luarocks --verbose install luacheck>log.txt
Searched log.txt for 'Error:' and also 'unknown', no match!
cmd windows shows:
Usage: luarocks [-h] [--version] [--dev] [--server <server>]
[--only-server <server>] [--only-sources <url>]
[--namespace <namespace>] [--lua-dir <prefix>]
[--lua-version <ver>] [--tree <tree>] [--local] [--global]
[--verbose] [--timeout <seconds>] [--pin] [<command>] ...
Error: unknown option '-e'
Did you mean '-h'?
Usage: luarocks [-h] [--version] [--dev] [--server <server>]
[--only-server <server>] [--only-sources <url>]
[--namespace <namespace>] [--lua-dir <prefix>]
[--lua-version <ver>] [--tree <tree>] [--local] [--global]
[--verbose] [--timeout <seconds>] [--pin] [<command>] ...
Error: unknown option '-e'
Did you mean '-h'?
C:\Users\xxxxx>```
So no extra information in log.txt due to --verbose.
Any suggestion? Is that a luarocks or a luacheck problem you think?
I'd suspect it to be a parameter to call Lua itself.
The Lua executable can be used with -e to execute code before starting, eg.
lua -e "print [[hello-world]]"
Luarocks creates some wrappers that use this -e option iirc. Still seems like a LuaRocks problem to me.
Thanks, I'll check with luarocks people!
Why is luarocks saying : Error: unknown option '-e' when...