Can't navigate away after hitting error page
See original GitHub issueDescribe the bug
- setup an error page
- navigate to localhost:3000/foobar and see the error page
- try to click any links to navigate to a different page,
- see the error page persist
see 40 second bug report: https://loom.com/share/1c2706a6904b4b4fb506d8510b97826f
To Reproduce
repo: https://github.com/sw-yx/sveltekit-errornavigation-bugreport
40 second bug report: https://loom.com/share/1c2706a6904b4b4fb506d8510b97826f
Expected behavior
it should navigate away nicely to the new page
Stacktraces
when i navigate to the new page i get this error in the browser console
Stack trace
start.js:429 Uncaught (in promise) TypeError: Cannot read property 'path' of null
at Renderer.notify (start.js:429)
at Router._navigate (start.js:191)
at start.js:117
Information about your SvelteKit Installation:
- The output of
npx envinfo --system --npmPackages svelte,@sveltejs/kit --binaries --browsers
System:
OS: macOS 11.0.1
CPU: (8) x64 VirtualApple @ 2.50GHz processor
Memory: 28.27 MB / 8.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 15.5.0 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 7.3.0 - /usr/local/bin/npm
Browsers:
Chrome: 89.0.4389.90
Firefox: 84.0.2
Safari: 14.0.1
npmPackages:
@sveltejs/kit: next => 1.0.0-next.55
svelte: ^3.29.0 => 3.35.0
-
Your browser: chrome
-
Your adapter (e.g. Node, static, Vercel, Begin, etc…): N/A
Severity How severe an issue is this bug to you? Is this annoying, blocking some users, blocking an upgrade or blocking your usage of SvelteKit entirely?
minor
Issue Analytics
- State:
- Created 2 years ago
- Reactions:15
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Puppeteer - Protocol error (Page.navigate): Target closed
Most likely, you are seeing this message because you closed the tab/browser and are still trying to use the resource. To give an...
Read more >How To Fix the Firefox "The Page Isn't Redirecting Properly ...
1. Clear Your Browser Cache ... The first action you should take when encountering pretty much any error is to clear your Firefox...
Read more >How To Find & Fix 404 Errors On Your Website | Matthew Edgar
There are five possible solutions you can use to fix 404 not-found errors on your website.
Read more >What Is a 404 Error? How to Deal With the Web Error
What's happening is simply that your browser is asking a website to display something, the website can't find the right page to display,...
Read more >Error 404: 4 Ways to Fix It - Hostinger
Therefore, you keep seeing the error even when the website works for ... On the Hosting Account panel, scroll down to Other and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I confirm, I have the same error. And for me, the issue seems to be within the navigator store :
this.current.page
does not exist anymore, after navigating to an error page.Maybe there are cache issues involved? In any case, combing back to it now, the problem seems to have disappeared.