[Support-ERROR Code]

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Dave905
Prole
Posts: 1
Joined: Thu Jun 11, 2020 3:15 pm

[Support-ERROR Code]

Post by Dave905 »

Hello All,

I am getting this when trying to run my code:

Error

boot.lua:575: No code to run
Your game might be packaged incorrectly.
Make sure main.lua is at the top level of the zip.


Traceback

[C]: in function 'error'
[C]: in function 'xpcall'
[C]: in function 'xpcall'

Any help? I looked everywhere.
Andlac028
Party member
Posts: 174
Joined: Fri Dec 14, 2018 2:27 pm
Location: Slovakia

Re: [Support-ERROR Code]

Post by Andlac028 »

Hi and welcome to the forums!
If you want to run a game, you must run:
a) .love (zip archive) which has main.lua at top level
b) folder, that directly contains main.lua file
(you can drop it onto love.exe or run from command prompt)
see wiki for more info
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 2 guests