Did you install from npm as per the documentation or did you download it from somewhere else?
Are you saying the app won't ever start again or that you can't edit the config again once you get it to this state? Not seen that before.
You can manually edit the config in ~/.config/joplin/settings.json