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

Fix error when using client-side github provider #620

Merged
merged 1 commit into from
Nov 2, 2022
Merged

Fix error when using client-side github provider #620

merged 1 commit into from
Nov 2, 2022

Conversation

reegnz
Copy link
Contributor

@reegnz reegnz commented Nov 2, 2022

Wrong name used for github.

@reegnz
Copy link
Contributor Author

reegnz commented Nov 2, 2022

When using mason.providers.client I got this error:

[INFO  Wed Nov  2 11:15:47 2022] ...vim/plugged/mason.nvim/lua/mason-core/installer/init.lua:118: Executing installer for Package(name=terraform-ls)
[ERROR Wed Nov  2 11:15:47 2022] ...vim/plugged/mason.nvim/lua/mason-core/providers/init.lua:69: No provider implementation found for github.get_latest_release
[ERROR Wed Nov  2 11:15:47 2022] ...vim/plugged/mason.nvim/lua/mason-core/installer/init.lua:154: Installation failed for Package(name=terraform-ls) error="...vim/plugged/mason.nvim/lua/mason-core/installer/init.lua:121: ...ugged/mason.nvim/lua/mason-core/managers/github/init.lua:55: Failed to fetch latest release from GitHub API. Refer to :h mason-errors-github-api for more information."

Turns out it was a name mismatch, it was looking for github but there was only gh in the client provider config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants