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

Electron app freezes quickly after launching on Ubuntu 18.04 #18

Closed
Klooven opened this issue May 17, 2018 · 3 comments
Closed

Electron app freezes quickly after launching on Ubuntu 18.04 #18

Klooven opened this issue May 17, 2018 · 3 comments

Comments

@Klooven
Copy link

Klooven commented May 17, 2018

I recently upgraded from Ubuntu 16.04 to Ubuntu 18.04 (fresh install), and after this my app freezes shortly after launching it for some reason when running through npm start.

  • The app is based on the electron-next skeleton
  • It is using Electron 2.0.0
  • Running ELECTRON_ENABLE_LOGGING=true npm start didn't give any special messages

I noticed that if I run the program with the VS Code debugger, that seemed to run the app without electron-next (pages didn't get built), everything worked correctly and the app didn't freeze. That's why I believe the problem is on electron-next's side.

Please tell me if you need more information.

Here for reference the important parts of my package.json:

{
  "name": "app",
  "version": "2.0.0",
  "description": "app",
  "main": "main/index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "start": "electron .",
    "build": "next build renderer && next export renderer",
    "dist": "npm run build && echo \"Generate setup\""
  },
  "devDependencies": {
    "axios": "~0.18.0",
    "electron": "^2.0.0",
    "next": "^6.0.2",
    "react": "^16.3.2",
    "react-dom": "^16.3.2",
    "react-form": "^3.5.5"
  },
  "dependencies": {
    "app-root-path": "^2.0.1",
    "electron-is-dev": "^0.3.0",
    "electron-next": "^3.1.4"
  }
}
@Klooven
Copy link
Author

Klooven commented Jul 24, 2018

After more investigation, I think the problem is in Electron.

@Klooven Klooven closed this as completed Jul 24, 2018
@jfrux
Copy link

jfrux commented Feb 15, 2019

I'm also experiencing this...
It only happens for me when I'm running my dev renderer though...

Any tips?

@Klooven
Copy link
Author

Klooven commented Feb 15, 2019

@jfrux You may find good tips in electron/electron#12850

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

No branches or pull requests

2 participants