question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not launching at all on CentOS 7 ("Javascript error occurred in the main process")

See original GitHub issue
  • I am on the latest Hyper.app version

  • I have searched the issues of this repo and believe that this is not a duplicate

  • OS version and name: CentOS Linux release 7.4.1708 (Core)

  • Hyper.app version: 2.0.0 I guess? I installed from the rpm hyper-2.0.0.x86_64.rpm

  • Link of a Gist with the contents of your .hyper.js: N/A – it never generated one because it crashes immediately.

  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere): N/A

  • The issue is reproducible in vanilla Hyper.app: Yes.

Issue

I’m on CentOS and after installing the rpm (hyper-2.0.0.x86_64.rpm) as soon as I run hyper I am immediately greeted by an error that says:

A Javascript error occurred in the main process
Uncaught Exception:
TypeError: Cannot read property 'resize' of undefined
    at Server.Window.rpc.on (/opt/Hyper/resources/app.asar/ui/window.js:146:14)
    at emitOne (events.js:115:13)
    at Server.emit (events.js:210:7)
    at Server.ipcListener (/opt/Hyper/resources/app.asar/rpc.js:33:11)
    at emitTwo (events.js:125:13)
    at EventEmitter.emit (events.js:213:7)
    at WebContents.<anonymous> (/opt/Hyper/resources/electron.asar/browser/api/web-contents.js:266:13)
    at emitTwo (events.js:125:13)
    at WebContents.emit (events.js:213:7)

and when I press OK, the Hyper window disappears and quits.

If I run hyper --help from a normal terminal, it outputs the help, so it seems something broken UI-wise.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

3reactions
chaboucommented, May 10, 2018

The fix will be shipped with our next canary 🎉

2reactions
JSybrandtcommented, Jun 2, 2018

This is happening on windows 10 atm.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Not launching at all on CentOS 7 ("Javascript error occurred in ...
The issue is reproducible in vanilla Hyper.app: Yes. Issue. I'm on CentOS and after installing the rpm ( hyper-2.0.0.x86_64.
Read more >
How to Fix the 'A JavaScript Error Occurred in the Main ...
Solution 1: Delete Discord Folders in %AppData% and %LocalAppData% Deleting the following folders should reset Discord settings and hopefully ...
Read more >
How to fix “a JavaScript error occurred in the main process ...
In this write-up, we have discussed four different methods which can be used to fix the: “a JavaScript error occurred in the main...
Read more >
A Javascript Error Occurred in the Main Process [Discord]
If a JavaScript error in the main process occurred in Discord, you won't be able to run the app, so you should use...
Read more >
Fix 'A JavaScript Error Occurred in the Main Process' Error in ...
1. Delete Discord Folders in AppData and LocalAppData · 2. Change the Startup Type of the Quality Windows Audio Video Service · 3....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found