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

Uninstall command #60

Merged
merged 7 commits into from
Feb 5, 2025
Merged

Uninstall command #60

merged 7 commits into from
Feb 5, 2025

Conversation

decioferreira
Copy link

Fixes #47.

@decioferreira
Copy link
Author

Currently failing to remove elm/browser for the guida-lang/compiler project. It seems to relate to the test indirect dependencies:

% ./bin/index.js install elm/browser 
Here is my plan:
  
  Add:
                  elm/browser 1.0.2

Would you like me to update your elm.json accordingly? [Y/n]: 
Success!
% ./bin/index.js uninstall elm/browser
Here is my plan:
  
  Remove:
                  elm/browser 1.0.2

Would you like me to update your elm.json accordingly? [Y/n]: 
-- ERROR IN DEPENDENCIES ---------------------------------------------- elm.json

It looks like the dependencies elm.json in were edited by hand (or by a 3rd
party tool) leaving them in an invalid state.

Try to change them back to what they were before! It is much more reliable to
add dependencies with elm install.

Please ask for help on the community forums if you try those paths and are still
having problems!

@decioferreira decioferreira merged commit 0c27a3e into master Feb 5, 2025
2 checks passed
@decioferreira decioferreira deleted the uninstall-command branch February 5, 2025 23:36
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.

add uninstall command
1 participant