-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Uncaught (in promise) TypeError: Cannot read property 'children' of null #5290
Comments
I'm encountering possibly the same bug:
Happens when I'm using a |
I was puzzled why this specific bit of our app was suddenly broken - haven't touched it, haven't updated Svelte, haven't done nothing but vacationing for three weeks. I just tried to trigger the bug with Firefox, but I can't. It works. It also works on Safari. And Brave. So, my suggestion is... Chrome pushed out a new release that broke Svelte? 😬 |
I think my guess was correct. The previous version of Chrome on my laptop was I now updated to |
No idea. I'm using brave and it throws the error. Brave uses chromium |
Have you tried Firefox, Safari, Opera etc. to rule out the possibility that your Brave browser is using a version of Chromium that has the same (potential) bug that I (think I) had? |
I will make sure to do so |
Not sure what is the cause of the bug, but I have the same problem in the latest Chrome, latest Firefox (80.0.1) and latest Edge 85.0.564.51 (but that's Chromium as well). I don't think it is an issue with browsers. |
The answer to this related stackoverflow question solved my problem, maybe it can help you guys as well. |
Same issue here. I'm not using Sapper, just Svelte. I'm using |
I've been having this issue in various instances also, typically within |
* added a "play" and "stop" button, to launch the task, and to stop tracking it * these buttons are necessary in order to be able to tell if the task is currently being tracked or not * had to add a volatile "isTracking" field on the task model * had to deal with a vicious bug in Todo.svelte. The play / stop font awesome icon, conditionally rendered by svelte, was crashing the app. Had to add an additional container span. cf sveltejs/svelte#5290 (comment) and https://stackoverflow.com/questions/58768701/sapper-how-do-i-fix-parentnode-is-null-when-navigating-away-from-a-page-with * layout => moved the play / stop icon before the task title
I removed the Svelte Devtools and solved. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been closed as it was previously marked as stale and saw no subsequent activity. |
But we need the svelte devtools. how to proceed to stop getting this error. |
The bug
Navigating from a specific page to another causes
Uncaught (in promise) TypeError: Cannot read property 'children' of null
and a blank page. It only occurs when navigation from/app
to/app/all-transactions
(repo below). Going to the route directly or reloading does not cause this issueLogs
To Reproduce
Use this repository: https://github.com/useverto/verto
Information about your Svelte project:
Your browser and the version:
Brave 1.10.97 Chromium: 83.0.4103.116 (Official Build) (64-bit)
Svelte version: latest (
"^3.24.1"
)Rollup
Using Sapper (
"^0.28.0"
)The text was updated successfully, but these errors were encountered: