Skip to content

Error when using roblox-ts #12

@fractalbeauty

Description

@fractalbeauty

image
(Flipbook error, but I think the fix is within module-loader)

Occurs after Rojo syncs changes. There is discussion in the roblox-ts discord about the "invalid module access" error, it seems like it's related to the cacheless require-ing that the module loader does.

I think this line in Hoarcekat's source avoids the error by replacing _G in the loaded script: https://github.com/Kampfkarren/hoarcekat/blob/b7928ea9a640fe004f149b4ed8805780c065147a/src/Components/Preview.lua#L159

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions