cs50 Pong Love2d cant open files

i am doing the cs50 class project on the second folder Pong. trying to open it and all of the following folders all give me error messages. This is among the first

Error

push.lua:101: attempt to call field 'getPixelScale' (a nil value)

Traceback

push.lua:101: in function 'initValues'

push.lua:48: in function 'setupScreen'

main.lua:47: in function 'load'

[C]: in function 'xpcall'

[C]: in function 'xpcall'