Open TheWiseDoge opened 4 years ago
How are you running the program?
I think you have to provide the path till the project directory not the main lua file itself.
So for example I will be using love /Applications/src0/pong/pong-0
.
I hope this helps.
When I open the terminal and try doing it, it tells me access denied and on love it still says the same thing.
Try running the command as sudo or change the directory permissions.
You don't run the script itself, because the love
command will try to find the main.lua
inside the path you set. So, just set the path to the folder like this love /Applications/src0/pong/pong-0/
(or whatever folder is your case)
You don't run the script itself, because the
love
command will try to find themain.lua
inside the path you set. So, just set the path to the folder like thislove /Applications/src0/pong/pong-0/
(or whatever folder is your case)
Thanks . I was having same issue on Mac. love detects lua file inside the directory so only need to give path to the folder where main lua file is located.
This is what our error said Error
boot.lua:577: Cannot load game at path '/Applications/src0/pong/pong-0/main.lua'. Make sure a folder exists at the specified path.
Traceback
[C]: in function 'error' [C]: in function 'xpcall' [C]: in function 'xpcall' Thanks