NipGeihou / lua_esurfing

天翼校园网客户端Lua版
GNU Affero General Public License v3.0
5 stars 0 forks source link

请问运行后显示这个是什么意思? #13

Closed apooridiot closed 4 years ago

apooridiot commented 4 years ago

root@OpenWrt:~# lua /root/lua_esurfing/bin/start.lua 2020-11-07 19:37 lua: /usr/lib/lua/socket/http.lua:4: attempt to index local 'ngx' (a nil value) stack traceback: /usr/lib/lua/socket/http.lua:4: in main chunk C: in function 'require' /root/lua_esurfing/bin/start.lua:42: in function 'getVerifyCodeString' /root/lua_esurfing/bin/start.lua:116: in function 'main' /root/lua_esurfing/bin/start.lua:120: in main chunk

我也是广工华立的 路由器是红米AC2100 刷的openwrt 求学长解答

apooridiot commented 4 years ago

root@OpenWrt:~# lua start.lua 2020-11-08 15:50 lua: /usr/lib/lua/json.lua:185: unexpected character '' at line 1 col 1 stack traceback: C: in function 'error' /usr/lib/lua/json.lua:185: in function 'decode_error' /usr/lib/lua/json.lua:371: in function 'parse' /usr/lib/lua/json.lua:379: in function 'decode' start.lua:58: in function 'getVerifyCodeString' start.lua:116: in function 'main' start.lua:120: in main chunk

现在变成这个了