Skip to content

Lack of LuaFileSystem is not notified (Linux) #16

@mfrigerio17

Description

@mfrigerio17

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions