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

Lack of LuaFileSystem is not notified (Linux) #16

Open
mfrigerio17 opened this issue Nov 15, 2023 · 0 comments
Open

Lack of LuaFileSystem is not notified (Linux) #16

mfrigerio17 opened this issue Nov 15, 2023 · 0 comments

Comments

@mfrigerio17
Copy link

I write this more for reference for users who may have the same problems.

When LuaFileSystem is not installed, doing

path = require "path"

does not produce any message and seems to succeed. However the returned table lacks many of the functions of the API, e.g. exists().
Solution: install LuaFileSystem first.

This issue is about the fact that loading the module should produce a warning or something.
This is the case for require "path.fs" but not for require "path", which is normal usage.

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

1 participant