IIIThSoul opened a new issue, #13548:
URL: https://github.com/apache/apisix/issues/13548
### Current Behavior
成功执行 apisix start,但有错误
### Expected Behavior
_No response_
### Error Logs
2026/06/12 14:24:55 [error] 2830#0: init_worker_by_lua error:
/home/test/local/apisix/apisix/events.lua:46: module 'resty.events.compat' not
found:
no field package.preload['resty.events.compat']
no file
'/home/test/local/apisix//deps/share/lua/5.1/resty/events/compat.lua'
no file
'/home/test/local/apisix//deps/share/lua/5.1/resty/events/compat/init.lua'
no file '/home/test/local/apisix/resty/events/compat.lua'
no file '/home/test/local/apisix/resty/events/compat/init.lua'
no file
'/home/test/local/openresty/site/lualib/resty/events/compat.ljbc'
no file
'/home/test/local/openresty/site/lualib/resty/events/compat/init.ljbc'
no file '/home/test/local/openresty/lualib/resty/events/compat.ljbc'
no file
'/home/test/local/openresty/lualib/resty/events/compat/init.ljbc'
no file
'/home/test/local/openresty/site/lualib/resty/events/compat.lua'
no file
'/home/test/local/openresty/site/lualib/resty/events/compat/init.lua'
no file '/home/test/local/openresty/lualib/resty/events/compat.lua'
no file
'/home/test/local/openresty/lualib/resty/events/compat/init.lua'
no file './resty/events/compat.lua'
no file
'/home/test/local/openresty/luajit/share/luajit-2.1/resty/events/compat.lua'
no file '/usr/local/share/lua/5.1/resty/events/compat.lua'
no file '/usr/local/share/lua/5.1/resty/events/compat/init.lua'
no file
'/home/test/local/openresty/luajit/share/lua/5.1/resty/events/compat.lua'
no file
'/home/test/local/openresty/luajit/share/lua/5.1/resty/events/compat/init.lua'
no file './resty/events/compat.lua'
no file
'/home/test/local/openresty/luajit/share/luajit-2.1/resty/events/compat.lua'
no file '/usr/local/share/lua/5.1/resty/events/compat.lua'
no file '/usr/local/share/lua/5.1/resty/events/compat/init.lua'
no file
'/home/test/local/openresty/luajit/share/lua/5.1/resty/events/compat.lua'
no file
'/home/test/local/openresty/luajit/share/lua/5.1/resty/events/compat/init.lua'
no file
'/home/test/local/openresty/site/lualib/resty/events/compat.ljbc'
no file
'/home/test/local/openresty/site/lualib/resty/events/compat/init.ljbc'
no file '/home/test/local/openresty/lualib/resty/events/compat.ljbc'
no file
'/home/test/local/openresty/lualib/resty/events/compat/init.ljbc'
no file
'/home/test/local/openresty/site/lualib/resty/events/compat.lua'
no file
'/home/test/local/openresty/site/lualib/resty/events/compat/init.lua'
no file '/home/test/local/openresty/lualib/resty/events/compat.lua'
no file
'/home/test/local/openresty/lualib/resty/events/compat/init.lua'
no file './resty/events/compat.lua'
no file
'/home/test/local/openresty/luajit/share/luajit-2.1/resty/events/compat.lua'
no file '/usr/local/share/lua/5.1/resty/events/compat.lua'
no file '/usr/local/share/lua/5.1/resty/events/compat/init.lua'
no file
'/home/test/local/openresty/luajit/share/lua/5.1/resty/events/compat.lua'
no file
'/home/test/local/openresty/luajit/share/lua/5.1/resty/events/compat/init.lua'
no file
'/home/test/local/apisix//deps/lib64/lua/5.1/resty/events/compat.so'
no file
'/home/test/local/apisix//deps/lib/lua/5.1/resty/events/compat.so'
no file
'/home/test/local/openresty/site/lualib/resty/events/compat.so'
no file '/home/test/local/openresty/lualib/resty/events/compat.so'
no file './resty/events/compat.so'
no file '/usr/local/lib/lua/5.1/resty/events/compat.so'
no file
'/home/test/local/openresty/luajit/lib/lua/5.1/resty/events/compat.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './resty/events/compat.so'
no file '/usr/local/lib/lua/5.1/resty/events/compat.so'
no file
'/home/test/local/openresty/luajit/lib/lua/5.1/resty/events/compat.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/home/test/local/apisix//deps/lib64/lua/5.1/resty.so'
no file '/home/test/local/apisix//deps/lib/lua/5.1/resty.so'
no file '/home/test/local/openresty/site/lualib/resty.so'
no file '/home/test/local/openresty/lualib/resty.so'
no file './resty.so'
no file '/usr/local/lib/lua/5.1/resty.so'
no file '/home/test/local/openresty/luajit/lib/lua/5.1/resty.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './resty
### Steps to Reproduce
tar -zxvf apache-apisix-3.16.0-src.tgz
luarocks make ./apisix-master-0.rockspec --tree ./deps --deps-only
make deps FORCE=1 NO_NET=1
apisix start
tail -f logs/error.log
### Environment
- APISIX version: 3.16.0
- Operating system : Linux localhost.localdomain 3.10.0-1160.el7.x86_64 #1
SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
- OpenResty / Nginx version: openresty/1.31.1.1
- etcd version: 3.6.12
- APISIX Dashboard version, if relevant: latest clone from github
- Plugin runner version, for issues related to plugin runners: None
- LuaRocks version:3.13.0
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]