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

Clearer error message on installing older version of installed plugin #1612

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

itowlson
Copy link
Contributor

Fixes #1578 (sorry @kate-goldenring I know you had assigned it to yourself but there didn't seem to be a PR attached and I guessed it probably wasn't WIP, but if it is then please biff this PR)

Error now reads:

$ spin plugins install js2wasm -v 0.3.0
Error: Newer version 0.4.0 of plugin 'js2wasm' is already installed. To downgrade to version 0.3.0, run `spin plugins upgrade` with the `--downgrade` flag.

@itowlson itowlson force-pushed the better-plugin-install-error branch from 331e50f to da58c6c Compare June 26, 2023 19:20
@itowlson itowlson merged commit 3a149e7 into fermyon:main Jun 26, 2023
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

Successfully merging this pull request may close these issues.

Confusing error message when trying to install older version of a plugin
2 participants