Skip to content

Why is luarocks saying : Error: unknown option '-e' when installing luacheck...? #212

@HolterPhylo

Description

@HolterPhylo

Why is luarocks saying : Error: unknown option '-e' when installing luacheck...?
Is it a luacheck problem?

from cmd prompt: luarocks install luacheck

Missing dependencies for luacheck 0.24.0-2:
argparse >= 0.6.0 (not installed)

luacheck 0.24.0-2 depends on lua >= 5.1 (5.3-1 provided by VM)
luacheck 0.24.0-2 depends on argparse >= 0.6.0 (not installed)
Installing https://luarocks.org/argparse-0.7.1-1.src.rock

argparse 0.7.1-1 depends on lua >= 5.1, < 5.5 (5.3-1 provided by VM)
argparse 0.7.1-1 is now installed in C:/Lua (license: MIT)

luacheck 0.24.0-2 depends on luafilesystem >= 1.6.3 (1.8.0-1 installed)
Usage: luarocks [-h] [--version] [--dev] [--server ]
[--only-server ] [--only-sources ]
[--namespace ] [--lua-dir ]
[--lua-version ] [--tree ] [--local] [--global]
[--verbose] [--timeout ] [--pin] [] ...

Error: unknown option '-e'
Did you mean '-h'?
Usage: luarocks [-h] [--version] [--dev] [--server ]
[--only-server ] [--only-sources ]
[--namespace ] [--lua-dir ]
[--lua-version ] [--tree ] [--local] [--global]
[--verbose] [--timeout ] [--pin] [] ...

Error: unknown option '-e'
Did you mean '-h'?
luacheck 0.24.0-2 is now installed in C:/Lua (license: MIT)```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions