Skip to content

Can't install any rocks, getting a "main function has more than 65536 constants" error #1797

Description

@travisbell

Please fill out the following:

  • Platform:

    • Linux
  • LuaRocks version:

    • /usr/local/openresty/luajit/bin/luarocks 3.11.1
  • Description:

Hi everyone, I am attempting to install a rock but am getting the following error back:

$ luarocks install lua-resty-jwt

Warning: Failed searching manifest: Failed loading manifest for https://luarocks.org: Error loading file: [string "/var/cache/luarocks/https___luarocks.org/mani..."]:201955: main function has more than 65536 constants
Warning: Failed searching manifest: Failed loading manifest for https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/: Error loading file: [string "/var/cache/luarocks/https___raw.githubusercon..."]:201955: main function has more than 65536 constants
Warning: Failed searching manifest: Failed loading manifest for https://loadk.com/luarocks/: Error loading file: [string "/var/cache/luarocks/https___loadk.com_luarock..."]:201955: main function has more than 65536 constants

Has anybody seen this before?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions