Error boot.lua:530: conf.lua:4: attempt to index field 'screen' (a nil value)

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
Shio koshō
Prole
Posts: 1
Joined: Tue Apr 28, 2020 4:20 am

Error boot.lua:530: conf.lua:4: attempt to index field 'screen' (a nil value)

Post by Shio koshō »

I am an beginner in the lua programing and with the LOVE, because of that i'm having a bunch of problems, this is one of that
(P.S.: Sorry if my english is wrong, it's my first time in a forum)

Error

boot.lua:530: conf.lua:4: attempt to index field 'screen' (a nil value)


Traceback

[C]: in function 'error'
[C]: in function 'xpcall'
[C]: in function 'xpcall'
User avatar
zorg
Party member
Posts: 3444
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: Error boot.lua:530: conf.lua:4: attempt to index field 'screen' (a nil value)

Post by zorg »

Hi and welcome to the forums!

I will need to make a guess, but the issue seems to be that you are using an older version of LOVE (something before 0.0.9; either 0.8.0 or something similar), which had those fields in the conf.lua file, but the newer versions don't.

If you don't have old hardware, there is no reason to use such old versions.

If you are using Windows or OS X, do download the latest release;
If you are using some kind of Linux, then there are a few options available, but you should get the appimage or ppa with the version number "11.3", since that is the latest.

There are links to all of those on the homepage.

Feel free to ask for clarification, if it is needed! :3

Oh, we also have a Discord server where people can respond faster.
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
User avatar
pgimeno
Party member
Posts: 3550
Joined: Sun Oct 18, 2015 2:58 pm

Re: Error boot.lua:530: conf.lua:4: attempt to index field 'screen' (a nil value)

Post by pgimeno »

From the symptoms, it sounds like the opposite: that the OP is trying to run a program made for Löve 0.8.0 or before in a more modern version.

Shio, take a look at this project: viewtopic.php?f=14&t=85935, it might help you run it.
Post Reply

Who is online

Users browsing this forum: pgimeno and 86 guests