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

runtime error: ...lua/5.1/resty/session.lua:3: module 'resty.random' not found: #479

Open
rajeevn1 opened this issue May 16, 2023 · 1 comment

Comments

@rajeevn1
Copy link

installed on debian as follows:

apt-get install -t testing libnginx-mod-http-lua lua{-{cjson,resty-core},rocks}
luarocks install lua-resty-openidc

@bodewig
Copy link
Collaborator

bodewig commented May 18, 2023

I'm afraid by trying to set up nginx without using OpenResty you are in for a bit of extra work. AFAIK (and I'm really not an expert here) OpenResty bundles quite a few more Lua packages than just core and the Lua module. If you try to replicate that by yourself you may need to add more and more packages manually.

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