mario-demo
mario-demo copied to clipboard
Class.lua
When I try to run my code written in lua, in sublime text, I see the follow error.
Error
main.lua:16: module 'class' not found: no field package.preload['class'] no 'class' in LOVE game directories. no file 'class' in LOVE paths. no file '.\class.lua' no file 'C:\Program Files\Love\lua\class.lua' no file 'C:\Program Files\Love\lua\class\init.lua' no file '.\class.dll' no file 'C:\Program Files\Love\class.dll' no file 'C:\Program Files\Love\loadall.dll'
Traceback
[C]: in function 'require' main.lua:16: in main chunk [C]: in function 'require' [C]: in function 'xpcall' [C]: in function 'xpcall'
I am stuck here and cannot go ahead. I have googled the problem a lot but can't find a solution. Please help
Did you get the class.lua file inside the zip package in distribution code?