-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
request help: 没有安装cjson,但仍要求删除cjson #2419
Comments
Try |
And |
huangdayu@SK-20191227AUWA:~/apache-apisix-1.5$ lua -e "require 'cjson'"
huangdayu@SK-20191227AUWA:~/apache-apisix-1.5$ lua -e "require('table.new')"
lua: (command line):1: module 'table.new' not found:
no field package.preload['table.new']
no file './table/new.lua'
no file '/usr/local/share/lua/5.1/table/new.lua'
no file '/usr/local/share/lua/5.1/table/new/init.lua'
no file '/usr/local/lib/lua/5.1/table/new.lua'
no file '/usr/local/lib/lua/5.1/table/new/init.lua'
no file '/usr/share/lua/5.1/table/new.lua'
no file '/usr/share/lua/5.1/table/new/init.lua'
no file './table/new.so'
no file '/usr/local/lib/lua/5.1/table/new.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.1/table/new.so'
no file '/usr/lib/lua/5.1/table/new.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/lib/lua/5.1/table.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
(command line):1: in main chunk
[C]: ? |
Look like you has cjson installed on your machine but it is not installed via luarocks. |
@spacewander 感谢,虽然我还没解决,但是我换CentOS了,CentOS就没问题。 |
issues/2431 可以解答一下这个问题吗?非常感谢。 |
it seems that you installed |
If there is no more information to provide, I think this issue can be closed. Do you agree? @HuangDayu @membphis |
Issue description
Environment
apisix version
): 1.5The text was updated successfully, but these errors were encountered: