zhaojh329 / oui

🐛 A framework used to develop Web interface for OpenWrt. Use Lua-eco + Vue3 + Vite + Element Plus.
https://zhaojh329.github.io/oui/
MIT License
1.04k stars 204 forks source link

oui-httpd service not running #285

Closed alanshaju closed 9 months ago

alanshaju commented 9 months ago

Environment: (x86, OpenWrt 23.05)

Description: My build not running oui-httpd. It crashes with cjson module error even tho I selected lua-cjson-53 package. below is the error output I'm getting while running oui-httpd manually

root@OpenWrt:/etc# oui-httpd 
error loading module 'cjson' from file '/usr/local/lib/lua/5.3/cjson.so':
    Error relocating /usr/local/lib/lua/5.3/cjson.so: lua_insert: symbol not found

Is there any way I can fix this. The build doesn't have any additional packages other than basic config comes with x86 target selection.

Luci also not selected