![lua 5.2.3에서 Lunajson을 찾을 수 없습니다.](https://rvso.com/image/760637/lua%205.2.3%EC%97%90%EC%84%9C%20Lunajson%EC%9D%84%20%EC%B0%BE%EC%9D%84%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
luarocks와 함께 lunajson을 설치했습니다. 모듈을 사용하려고 하면 아래 오류가 계속 발생합니다. 저는 JSON으로 다시 응답하는 웹사이트를 디코딩하려고 합니다. OS는 Debian Jessie를 실행 중입니다. 나는 그것이 오래된 OS라는 것을 알고 있으며 결국 업데이트할 예정이지만 이로 인해 문제가 발생하지는 않습니다.
https://somedudesays.com/2019/12/using-json-with-lua/
lua:10: module 'lunajson' not found:
no field package.preload['lunajson']
no file '/usr/share/freeswitch/scripts/lunajson.lua'
no file '/usr/local/lib/lua/5.2/lunajson.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.2/lunajson.so'
no file '/usr/lib/lua/5.2/lunajson.so'
no file '/usr/local/lib/lua/5.2/loadall.so'
no file './lunajson.so'
stack traceback:
[C]: in function 'require'