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.

App stuck on loading

See original GitHub issue

Describe the bug I simply followed the getting started instructions and the app won’t start:

pnpm cap open @capacitor-community/electron results in this: image

Desktop (please complete the following information):

  • OS: Win 11

Additional context My dependencies:

"@capacitor-community/bluetooth-le": "^2.0.1",
"@capacitor-community/electron": "^4.1.2",
"@capacitor-community/sqlite": "^4.2.2",
"@capacitor/action-sheet": "^4.0.1",
"@capacitor/app": "^4.1.0",
"@capacitor/browser": "^4.0.1",
"@capacitor/camera": "^4.1.3",
"@capacitor/core": "^4.4.0",
"@capacitor/device": "^4.0.1",
"@capacitor/dialog": "^4.0.1",
"@capacitor/filesystem": "^4.1.3",
"@capacitor/network": "^4.0.1",
"@capacitor/preferences": "^4.0.1",
"@capacitor/share": "^4.0.1",
"@capacitor/splash-screen": "^4.1.1",
"@capacitor/text-zoom": "^4.0.1",
"@capacitor/toast": "^4.0.1",
"@capacitor/android": "^4.4.0",
"@capacitor/cli": "^4.4.0",
"@capacitor/ios": "^4.4.0",

My capacitor.config.ts:

const config: CapacitorConfig = {
	appId: "io.myorg.myapp",
	appName: "MyApp",
	bundledWebRuntime: false,
	server: {
		url: "http://192.168.1.194:3001",
		cleartext: true,
	},
	webDir: "./dist",
	plugins: {
		CapacitorHttp: {
			enabled: true,
		},
	},
};

I dunno if it has anything to do with the dev server. I’m using Vite and the dev server is correctly configured (I can develop with Android and iOS just fine).

For the moment I just want to know if there’s a way to have more logs from the start command… as it is, I have no idea what I could look into.

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
jepiqueaucommented, Nov 23, 2022

@Etchelon if you do cd electron pnpm run electron:start If you look at the console , you will have messages from electron. Good luck

0reactions
jepiqueaucommented, Nov 23, 2022

@Etchelon i am pleased that you find your way and that everything is working

Read more comments on GitHub >

github_iconTop Results From Across the Web

iPhone App Stuck on Waiting, Loading, or Installing? 13 Fixes ...
If an app is stuck at “Loading” or “Installing” due to a corrupt or broken download, deleting it and initiating a new download...
Read more >
15 Fixes for iPhone 13 Apps Stuck on Loading/ Waiting- Dr.Fone
15 Ways to Fix iPhone 13 Apps Stuck on Loading/ Waiting · 1. Pause/Resume the App installation · 2. Check if your phone...
Read more >
iPhone apps stuck on loading after restore - Apple Community
Press and hold down Power button for a few seconds till Power off appears ;; Power if off, wait for about 1 or...
Read more >
8 Fix iPhone Apps Stuck on Waiting/Loading After Restore iOS ...
Solution #1: Prioritize Download App on iPhone · Solution #2: Uninstall and Reinstall the App that Stuck on Screen · Solution 3: Update...
Read more >
Apps stuck on "Installing..." on your Home Screen? Try this
What to do when your iPhone app installations are stuck · Tap the app icon · Give it 10 minutes · Try to...
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