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

Why I am getting error table.isempty not found? #180

Open
jmaocanada opened this issue Aug 21, 2024 · 2 comments
Open

Why I am getting error table.isempty not found? #180

jmaocanada opened this issue Aug 21, 2024 · 2 comments

Comments

@jmaocanada
Copy link

Please kindly advise what I possibly missed.

2024/08/20 19:18:13 [error] 118765#118765: *1 lua entry thread aborted: runtime error: /usr/local/share/lua/5.1/resty/session.lua:14: module 'table.isempty' not found:
        no field package.preload['table.isempty']
        no file './table/isempty.lua'
        no file '/usr/share/luajit-2.1.0-beta3/table/isempty.lua'
        no file '/usr/local/share/lua/5.1/table/isempty.lua'
        no file '/usr/local/share/lua/5.1/table/isempty/init.lua'
        no file '/usr/share/lua/5.1/table/isempty.lua'
        no file '/usr/share/lua/5.1/table/isempty/init.lua'
        no file './table/isempty.so'
        no file '/usr/local/lib/lua/5.1/table/isempty.so'
        no file '/usr/lib/x86_64-linux-gnu/lua/5.1/table/isempty.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
        no file './table.so'
        no file '/usr/local/lib/lua/5.1/table.so'
        no file '/usr/lib/x86_64-linux-gnu/lua/5.1/table.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
@bungle
Copy link
Owner

bungle commented Sep 23, 2024

@jmaocanada you need OpenResty fork of LuaJIT:
https://github.com/openresty/luajit2

@bungle
Copy link
Owner

bungle commented Sep 23, 2024

not much used in this project so we could perhaps have alternative with Lua's next function.

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

2 participants