Firstsawyou edited a comment on issue #3207: URL: https://github.com/apache/apisix/issues/3207#issuecomment-755866501
@hifou From your error message, found that your apisix project is located in the `/root` directory. You need to run APISIX in a directory other than `/root`. ```shell $ make init Warning! Running apisix under /root is only suitable for development environments and it is dangerous to do so. It is recommended to run APISIX in a directory other than /root. ./bin/apisix init_etcd ``` ```shell $ cat ./logs/error.log init_worker_by_lua error: /root/apisix-2.1/apisix/init.lua:89: module 'resty.worker.events' not found: no field package.preload['resty.worker.events'] no file '/root/apisix-2.1//deps/share/lua/5.1/resty/worker/events.lua' no file '/root/apisix-2.1//deps/share/lua/5.1/resty/worker/events/init.lua' no file '/root/apisix-2.1/resty/worker/events.lua' no file '/root/apisix-2.1/resty/worker/events/init.lua' no file '/usr/local/openresty/site/lualib/resty/worker/events.ljbc' no file '/usr/local/openresty/site/lualib/resty/worker/events/init.ljbc' ``` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org