Closed deadmann closed 4 years ago
what's triage that it needs?
I've got that issue too, absolutely no idea how to solve it.
I've tried to apply patches for the following:
https://github.com/angular/angular/pull/27262/files https://github.com/angular/angular/pull/20712/files https://github.com/angular/angular/pull/20712#issuecomment-433001509
None of those worked :sweat:
If anyone has any way of fixing that please let us know :pray:
it seem the issue appear mostly when working locally :/ i'm not sure, i'm in middle of moving to another city, and some project at workplace..., and i got lost track of everything i was doing
Could someone provide a minimal reproduction of this in a GitHub repo with steps to reproduce?
Closing as duplicate of #39030
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
🐞 bug report
Affected Package
"@angular/router": "~7.2.0",
Is this a regression?
I'm using the above version, and since i search a lot and non seem to be having same issue, i stop the search in case to do rest of things, but i really want to get rid of it
Description
Note: I had this issue from begin right after i create auth service and my first guard (auth guard)...
Sometimes, not all the times, when i open the website, either locally or on server, i face the error
this can either be on changin route, having error, or mostly when i refresh or open new page. the issue mostly resolve when i try to open pages without guards ... not all the time, not same page work all the time.
🔬 Minimal Reproduction
I'm not sure if it's possible to create it because there are a lot going out there (authentication, and guards and stuff), but here's my website: ashiane.house
If StackBlitz is not suitable for reproduction of your issue, please create a minimal GitHub repository with the reproduction of the issue. A good way to make a minimal reproduction is to create a new app via
ng new repro-app
and add the minimum possible code to show the problem. Share the link to the repo below along with step-by-step instructions to reproduce the problem, as well as expected and actual behavior.Issues that don't have enough info and can't be reproduced will be closed.
You can read more about issue submission guidelines here: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-submitting-an-issue -->
🔥 Exception or Error
🌍 Your Environment
Angular Version:
Anything else relevant? Not Sure
Guard Codes:
router codes:
Auth Service
packages: