Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Xilonz opened this issue Oct 28, 2024 · 0 comments
Open

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

Xilonz opened this issue Oct 28, 2024 · 0 comments

Comments

@Xilonz
Copy link

Xilonz commented Oct 28, 2024

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.

@Xilonz Xilonz changed the title Plugins: Plugin name and Package name need to be equal (?) Plugin name and Package name need to be equal (?) Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant