vercel / hyper

A terminal built on web technologies
https://hyper.is
MIT License
43.47k stars 3.52k forks source link

.hyper.js not deleted on uninstall #2985

Open teunvw14 opened 6 years ago

teunvw14 commented 6 years ago

Issue

I was tinkering with the configuration file (.hyper.js) after installing some plugins. That resulted in some errors when trying to use the hyper CLI (unable to install/uninstall plugins, hyper ls throwing a bunch of errors). I tried reinstalling, but that didn't help. I only succeeded after deleting the .hyper.js file and then reinstalling. I think it's a good idea that the .hyper.js file gets deleted on uninstall, or that some sort of corruption detection for the file is put in place so that when someone messes up the .hyper.js configuration file, hyper still works, or is at fixed by reinstalling.

albinekb commented 6 years ago

I don't think we should delete it automatically, but we should instead show a popup that there's an error with the config and launch with the default config.. maybe