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
{{ message }}
This repository has been archived by the owner on Dec 16, 2018. It is now read-only.
first of all, thanks for the awesome framework you made, I love it.
But I have a little problem with importing socket, I did everything you said on the readme, but after trying to run love . --test I encountered the following error:
Error: test/lunatest.lua:64: attempt to index global 'socket' (a nil value)
stack traceback:
[string "boot.lua"]:637: in function '__index'
test/lunatest.lua:64: in main chunk
[C]: in function 'require'
test/lovetest.lua:26: in function 'run'
main.lua:27: in function 'load'
[string "boot.lua"]:488: in function <[string "boot.lua"]:487>
[C]: in function 'xpcall'
[string "boot.lua"]:650: in function <[string "boot.lua"]:639>
[C]: in function 'xpcall'
Adding explicit import to lunatest.lua solved the problem.
local socket = require("socket")
The text was updated successfully, but these errors were encountered:
nah, I tried to import it with pcall, it didn't work and your commit doesn't work either.
about the maintaining: maybe, if you have some time for answering my questions from time to time. I'm pretty new to lua and love2d, I started like 3 days ago.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello there,
first of all, thanks for the awesome framework you made, I love it.
But I have a little problem with importing socket, I did everything you said on the readme, but after trying to run
love . --test
I encountered the following error:Adding explicit import to
lunatest.lua
solved the problem.The text was updated successfully, but these errors were encountered: