kwanhur commented on PR #6981:
URL: https://github.com/apache/apisix/pull/6981#issuecomment-1117201701
`cjson` not in `apisix-master-0.rockspec`, any missing it? @spacewander
Using `apisix/core/ip.lua`, here require `apisix/core/json` where original
`cjson` reference.
Test case failed cause at `cjson`
```plaintext
/apisix/bin/apisix init
/usr/local/openresty-debug/luajit/bin/luajit ./apisix/cli/apisix.lua init
/usr/local/openresty-debug/luajit/bin/luajit: ./apisix/core/json.lua:22:
module 'cjson.safe' not found:
no field package.preload['cjson.safe']
no file '/apisix/cjson/safe/init.lua'
no file '/apisix/deps/share/lua/5.1/cjson/safe/init.lua'
no file '/apisix/deps/share/lua/5.1/cjson/safe.lua'
no file '/usr/local/apisix/deps/share/lua/5.1/cjson/safe.lua'
no file './cjson/safe.lua'
```
--
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]