whitecatboard / Lua-RTOS-ESP32

Lua RTOS for ESP32
Other
1.2k stars 221 forks source link

LuaSockets #180

Closed Ian-Re closed 6 years ago

Ian-Re commented 6 years ago

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?

Ian-Re commented 6 years ago

This was an issue on my side