From here: https://love2d.org/forums/viewtopic.php?t=85111
"Re: Error while loading game
Post by nfnarvaez » Tue Jul 16, 2019 12:24 pm
I had the same issue. The solution is calling the path but with not main.lua . For example:
love.exe C:\luaprojects\project1 instead of love.exe c:\luaprojects\luaproject\main.lua.
I hope it helps."