Skip to content

lune: require(script.Parent.) fails because script is nil #21

@westurner

Description

@westurner

Trying to run jest-lua in lune (with wally and rojo)

  • Wally installs packages into ./DevPackages/_Index/... and ./Packages/_Index/..., and creates aliases to require instead:
    For example:
    -- ./DevPackages/Jest.lua
    return require(script.Parent._Index["jsdotlua_jest@3.10.0"]["jest"])

But require(script.Parent) fails with:

[string "game/DevPackages/Jest.lua"]:1: attempt to index nil with 'Parent'

Could or should lune set script so that script.Parent works?

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