apisix
apisix copied to clipboard
bug: build from source on ubuntu, failed to run command: apisix init
Current Behavior
following the document: https://apisix.apache.org/docs/apisix/building-apisix/
when run the command apisix init , error occurs:
/usr/local/openresty//luajit/bin/luajit /usr/local/apisix/apisix/cli/apisix.lua test
/usr/local/openresty//luajit/bin/luajit: cannot open /usr/local/apisix/apisix/cli/apisix.lua: No such file or directory
Expected Behavior
it should be ok to run apisix init
Error Logs
/usr/local/openresty//luajit/bin/luajit /usr/local/apisix/apisix/cli/apisix.lua test /usr/local/openresty//luajit/bin/luajit: cannot open /usr/local/apisix/apisix/cli/apisix.lua: No such file or directory
Steps to Reproduce
Following doc: https://apisix.apache.org/docs/apisix/building-apisix/ to build from source step by step.
Environment
- APISIX version (run
apisix version):3.4.1 - Operating system (run
uname -a):Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux - OpenResty / Nginx version (run
openresty -Vornginx -V):nginx version: openresty/1.21.4.2 - etcd version, if relevant (run
curl http://127.0.0.1:9090/v1/server_info): - APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run
luarocks --version):/usr/local/bin/luarocks 3.8.0
Does the issue still persist? Did your previous steps (e.g. make) all work out without errors?
Due to lack of the reporter's response this issue has been labeled with "no response". It will be close in 3 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.