You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hopefully I’m posting this in the right place, as I’ve just installed LibTerm looking to do continue my Lua programming education and I tried to run a script I created called "TS_cabin_graph_watts_24h.lua" , which calls a url - but I get the forming error message.
lua: TS_cabin_graph_watts_24h.lua:6: module 'socket.http' not found:
no field package.preload['socket.http']
no file '/usr/local/share/lua/5.3/socket/http.lua'
no file '/usr/local/share/lua/5.3/socket/http/init.lua'
no file '/usr/local/lib/lua/5.3/socket/http.lua'
no file '/usr/local/lib/lua/5.3/socket/http/init.lua'
no file './socket/http.lua'
no file './socket/http/init.lua'
no file '/usr/local/lib/lua/5.3/socket/http.so'
no file '/usr/local/lib/lua/5.3/loadall.so'
no file './socket/http.so'
no file '/usr/local/lib/lua/5.3/socket.so'
no file '/usr/local/lib/lua/5.3/loadall.so'
no file './socket.so'
stack traceback:
[C]: in function 'require'
TS_cabin_graph_watts_24h.lua:6: in main chunk
[C]: in ?
````
Please could someone help me to fix it?
is it possible to add that http and https module ?
Many thanks
The text was updated successfully, but these errors were encountered:
Hi
hopefully I’m posting this in the right place, as I’ve just installed LibTerm looking to do continue my Lua programming education and I tried to run a script I created called "TS_cabin_graph_watts_24h.lua" , which calls a url - but I get the forming error message.
The text was updated successfully, but these errors were encountered: