I've uploaded the latest lua-rtos port to my esp32, but can't seem to get luasockets to do anything.
The following is one of the failed attempts:
local socket = require("socket")
stdin:1: module 'socket' not found:
no field package.preload['socket']
no file '/lib/share/lua/socket.lua'
no file '/lib/share/lua/socket/init.lua'
no file '/lib/lua/socket.lua'
no file '/lib/lua/socket/init.lua'
no file './socket.lua'
no file './socket/init.lua'
no file '/lib/lua/socket.so'
no file '/lib/lua/loadall.so'
no file './socket.so'
stack traceback:
[C]: in function 'require'
stdin:1: in main chunk
[C]: in ?
To me this looks like it can't find the socket library in the port?
Is the luasockets port working?
I've uploaded the latest lua-rtos port to my esp32, but can't seem to get luasockets to do anything.
The following is one of the failed attempts:
local socket = require("socket") stdin:1: module 'socket' not found: no field package.preload['socket'] no file '/lib/share/lua/socket.lua' no file '/lib/share/lua/socket/init.lua' no file '/lib/lua/socket.lua' no file '/lib/lua/socket/init.lua' no file './socket.lua' no file './socket/init.lua' no file '/lib/lua/socket.so' no file '/lib/lua/loadall.so' no file './socket.so' stack traceback: [C]: in function 'require' stdin:1: in main chunk [C]: in ?
To me this looks like it can't find the socket library in the port?