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.

3.0.0-rc.1 prevents app from being launched

See original GitHub issue

Describe the bug

The most recent release 3.0.0-rc.1 causes apps to fail to start.

Error on start:

Uncaught Exception:
TypeError: Cannot read property 'isDestroyed' of null
    at App.<anonymous> (/Users/user/devprojects/pocs/cap-electron-demo/electron/build/index.js:24:39)
    at App.emit (events.js:315:20)

To Reproduce

  1. Provision a new or upgrade an existing Capacitor Electron app to latest v3 version (3.0.0-rc.1)

Expected behavior

Expect app to launch

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
coreyjvcommented, May 21, 2021

Ya I think that may have been it @IT-MikeS. Thanks!

0reactions
IT-MikeScommented, May 21, 2021

I made some changes to the electron/tsconfig.json file does yours look like this?

{  
  "compileOnSave": true,  
  "include": ["./src/*", "./capacitor.config.ts", "./capacitor.config.js"],  
  "compilerOptions": {
    "outDir": "./build",
    "importHelpers": true,
    "target": "ES2017",    
    "module": "CommonJS",    
    "moduleResolution": "node",    
    "esModuleInterop": true,    
    "allowJs": true,    
    "rootDir": "."  
  }
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Announce: Puppet 3.0.0rc1 Available - Google Groups
Puppet 3.0.0rc1 is a feature release candidate for the 3.0 series of Puppet. Puppet 3.0 has breaking changes from the Puppet 2.7 series...
Read more >
Application – Elixir v1.3.0-rc.0 - HexDocs
A module for working with applications and defining application callbacks. In Elixir (actually, in Erlang/OTP), an application is a component implementing some ...
Read more >
Prevent apps and windows from reopening on Mac
Apps and their windows might automatically reopen when you log in to your Mac or open each app. Here's how to control this...
Read more >
Changelog — Pulp Project 3.0.1 documentation
Fix bug where content shows as being added and removed in the same version. ... Multiple resource-managers can be started and only one...
Read more >
Visual Studio 2019 version 16.11 Release Notes
9. released January 11, 2022. Issues Addressed in this Release. Fixed an issue with being unable to debug applications multiple times when ...
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