Skip to content

Plugin name and Package name need to be equal (?) #258

Open

Description

@Xilonz

I've checked https://docs.lando.dev/guides/updating-plugins-v4.html, and it isn't obvious from here that the name in package.json should be the same as plugin.js|yaml|yml. Not doing so will crash the installation with:

[FAILED] The "paths[3]" argument must be of type string. Received undefined

caused by https://github.com/lando/core/blob/main/utils/fetch-plugin.js#L19

I'm not sure this indented. It it is, it would be great to update the guide to include scopes in the examples, as there's (from my understanding) no way to publish a package (/plugin) without scope.

Activity

  1. changed the title [-]Plugins: Plugin name and Package name need to be equal (?)[/-] [+]Plugin name and Package name need to be equal (?)[/+] on Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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