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.

Electron does not work anymore

See original GitHub issue

When running

npm run electron:start

got the following errors:

  • No @ionic/core ToastController detected, please make sure …
  • Get file:///runtime.js net::ERR_FILE_NOT_FOUND
  • Get file:///polyfill.js net::ERR_FILE_NOT_FOUND
  • Get file:///styles.js net::ERR_FILE_NOT_FOUND
  • Get file:///vendor.js net::ERR_FILE_NOT_FOUND
  • Get file:///main.js net::ERR_FILE_NOT_FOUND

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:6
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

7reactions
jepiqueaucommented, Jan 2, 2019

It is working fine, for a capacitor ionic-angular application if in the index.html you change <base href="/" /> by <base href="./" /> . in a capacitor ionic-vue project you must add a vue.config.js file in the project folder which contains module.exports = { baseUrl: "./" };. I didn’t test an app with tabs so try

2reactions
jepiqueaucommented, Dec 26, 2018

Solve in Capacitor 1.0.0-beta.13

Read more comments on GitHub >

github_iconTop Results From Across the Web

electron quick start application not working - Stack Overflow
I have to run electron index.html to resolve this issue.
Read more >
[Bug]: Windows 10/11: Electron 16 doesn't start up ... - GitHub
[Bug]: Windows 10/11: Electron 16 doesn't start up under certain graphics hardware ... Start up with no problem, window visible, renderer code running....
Read more >
Electron App does not open after following Windows building ...
After following the instructions for building the Electron Application on Windows, the run.bat command just gets stuck on this and wont ...
Read more >
electron-builder
A complete solution to package and build a ready for distribution Electron app for macOS, Windows and Linux with “auto update” support out...
Read more >
How to Handle Multiple Windows in an Electron App
This works great when we only have to worry about one window but not anymore now that we are allowing multiple windows in...
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