-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Crashes on open with invalid config #1589
Comments
How did you uninstall the app? You could try https://freemacsoft.net/appcleaner/ |
I used appcleaner to remove it and still the same issue. Also installed the older version of Hyper and the same problem. I think it's an issue in the preferences but I can't edit those without using the terminal. |
I had a similar (ish-)issue. #1581 Your situation seems to be different, I'd start by removing all the plugins, then re-adding them one by one (I'm going on the assumption that the issue is plugin related) Hope this helps. |
Great, advice. Opened the ~/.hyper.js file in a regular editor and changed what I needed. Working fine now. Thanks @rohan-buchner |
I think we should handle that error and show a nice alert so next time the user knows that there's something wrong in the Preferences👍🙌 |
I'm having this exact problem with Windows. I also see other issues listed. I made a backup of my config before I changed it to use powershell. I'm now assuming one of my args is wrong because it just throws an uncaught exception on startup. I could roll back my config, or try again but it isn't clear where this config file is in Windows. A reinstall cleaning the app folder makes no difference either, if you reinstall, something is lingering because it just throws again. |
I am having the same issue, mine did not trigger until i misspelled the address for bash and i tried editing the config again, no such luck so i uninstalled went back version etc, still the same error |
will give it a try. and see if i can find a good solution for this issue |
They also have this error in the VS Code terminal and here's how they handle it. I guess listening to that error and noticing the user should be fine until something better comes up. |
I have encountered this same error call stack as OP with Hyper 2.0.0 on Windows 10, but not on start up, instead whilst attempting to Ctrl+C to exit
|
Hi, you have to search for hyper.js file in your system and edit it by your need delete all the code if you don't know what is causing the error |
Howdy! Can I take this issue? Greetings! |
When I open Hyper the terminal open and closed quickly. The app is still open however. When I click on preferences in the menu bar the below pop up box shows. I've tried uninstalling and reinstalling but same problem occurs.
A JavaScript error occurred in the main process
Uncaught Exception:
TypeError: Cannot read property 'write' of undefined
at Server.rpc.on (/Applications/Hyper.app/Contents/Resources/app/index.js:269:24)
at emitOne (events.js:96:13)
at Server.emit (events.js:188:7)
at Server.ipcListener (/Applications/Hyper.app/Contents/Resources/app/rpc.js:34:11)
at emitTwo (events.js:106:13)
at EventEmitter.emit (events.js:191:7)
at WebContents. (/Applications/Hyper.app/Contents/Resources/electron.asar/browser/api/web-contents.js:219:13)
at emitTwo (events.js:106:13)
at WebContents.emit (events.js:191:7)
The text was updated successfully, but these errors were encountered: