Open laoyin opened 5 years ago
@laoyin Did you manage to solve this issue? Which kong version you are trying to run? 1.0?
@RanAbram i had solved this issue. in my branch. https://github.com/laoyin/kong-middleman-plugin/commit/40d8259bdd64fbe7cf078181243cb56a739dcbc7, and more, because i had the custom demand, so i change a lot. kong version 1.0
@laoyin Thanks! I created PR to fix this issue.
Error: /usr/local/share/lua/5.1/kong/cmd/start.lua:46: nginx: [error] init_by_lua error: /usr/local/share/lua/5.1/kong/tools/utils.lua:584: /usr/local/share/lua/5.1/kong/plugins/middleman/access.lua:1: module 'kong.tools.responses' not found:No LuaRocks module found for kong.tools.responses no field package.preload['kong.tools.responses'] no file './kong/tools/responses.lua' no file './kong/tools/responses/init.lua' no file '/usr/local/openresty/site/lualib/kong/tools/responses.ljbc' no file '/usr/local/openresty/site/lualib/kong/tools/responses/init.ljbc' no file '/usr/local/openresty/lualib/kong/tools/responses.ljbc' no file '/usr/local/openresty/lualib/kong/tools/responses/init.ljbc' no file '/usr/local/openresty/site/lualib/kong/tools/responses.lua' no file '/usr/local/openresty/site/lualib/kong/tools/responses/init.lua' no file '/usr/local/openresty/lualib/kong/tools/responses.lua' no file '/usr/local/openresty/lualib/kong/tools/responses/init.lua' no file '/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/kong/tools/responses.lua' no file '/usr/local/share/lua/5.1/kong/tools/responses.lua' no file '/usr/local/share/lua/5.1/kong/tools/responses/init.lua' no file '/usr/local/openresty/luajit/share/lua/5.1/kong/tools/responses.lua' no file '/usr/local/openresty/luajit/share/lua/5.1/kong/tools/responses/init.lua' no file '/root/.luarocks/share/lua/5.1/kong/tools/responses.lua' no file '/root/.luarocks/share/lua/5.1/kong/tools/responses/init.lua' no file '/usr/local/openresty/site/lualib/kong/tools/responses.so' no file '/usr/local/openresty/lualib/kong/tools/responses.so' no file './kong/tools/responses.so' no file '/usr/local/lib/lua/5.1/kong/tools/responses.so' no file '/usr/local/openresty/luajit/lib/lua/5.1/kong/tools/responses.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file '/root/.luarocks/lib/lua/5.1/kong/tools/responses.so' no file '/usr/local/openresty/site/lualib/kong.so' no file '/usr/local/openresty/lualib/kong.so' no file './kong.so' no file '/usr/local/lib/lua/5.1/kong.so' no file '/usr/local/openresty/luajit/lib/lua/5.1/kong.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file '/root/.luarocks/lib/lua/5.1/kong.so' stack traceback: [C]: in function 'error' /usr/local/share/lua/5.1/kong/tools/utils.lua:584: in function 'load_module_if_exists' /usr/local/share/lua/5.1/kong/db/dao/plugins.lua:222: in function 'load_plugin_schemas' /usr/local/share/lua/5.1/kong/init.lua:343: in function 'init' init_by_lua:3: in main chunk
Run with --v (verbose) or --vv (debug) for more details