Error: source/main.lua:4: No such file: CoreLibs/sprite

Platform: Windows and VS code

Every time I try to compile,
PS C:\Users[me]\Playdate> pdc source Playdategame.pdx

I get this error:
error: source/main.lua:4: No such file: CoreLibs/sprite

I have defined the path to C:\Users\[me]\Documents\PlaydateSDK\CoreLibs
or
C:\Users\[me]\Documents\PlaydateSDK\bin in the environment variables.

I have tried several things suggested on this forum, but nothing works.

I believe the correct name of the file you're trying to import is CoreLibs/sprites, with an S at the end.

1 Like

Okay I'm just blind... Thanks it's working now!