Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class.lua #7

Open
HammadSiddiq opened this issue Jul 21, 2020 · 1 comment
Open

Class.lua #7

HammadSiddiq opened this issue Jul 21, 2020 · 1 comment

Comments

@HammadSiddiq
Copy link

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

@marcusbecker
Copy link

Did you get the class.lua file inside the zip package in distribution code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants