Skip to content

Package name in wally.toml doesn't match name in project.json #14

@magnalite

Description

@magnalite

Currently when we write packages to the Packages folder we write a script to be required along with the package. This script then finds the package in the _Index folder. It does this indexing based upon the name in the wally.toml. However when these folders are synced by rojo they get renamed to whatever is set in the project.json! This means the script we originally require can no longer find the package correctly!

As an example we can look at this Roact package

image
We can see it is roblox_roact@1.4.0/Roact as it has been renamed by rojo but the script we require will look for roblox_roact@1.4.0/roact as this is the name specified in the wally.toml. As a result we cannot require Roact.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions