-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Links refer to non-existent web endpoints #56066
Comments
Hi, it looks like there is an issue with the service work. If you clean your browser cache, you'll be fine. |
These errors are generated by the framework runtime and not by the Angular CLI. |
Hi. Thank you both for the guidance. npm cache clean --force
rmdir /s node_modules
npm i
ng cache clean
# close and open command line window
ng serve -o
... but still ... Find more at https://angular.io/errors/NG05000 This is new project (not after ng update). |
I clicked "Clear site data" on "http://localhost:4200/", "https://angular.dev/" and "https://github.com" just to be sure (which logged me out 🙄). This was not possible for angular.io, which immediately redirected me to angular.dev, so i couldn't open devtools for angular.io domain. However, after launch I still see it like this. Then I tried this setting in chrome on the url: chrome://settings/content/all?searchSubpage=angular and delete all content for localhost, angular.io and angular.dev and close and open browser After run |
You need clear it when on Also, we fixed the url in the logs, they will be shipped with the next patch version. |
Ok, now (after clear) https://angular.io/errors/NG05000 redirects to https://v17.angular.io/docs Can you confirm this (that second time is link from cli unavailable)? And you can close this bug report also when it is already fixed internally and it will be published in the next patch. Thank you all. |
Hi @JeanMeche , Does this related to the same issue? Accessed the link 'https://v17.angular.io/api/common/NgTemplateOutlet' posted on one of the recent issue. Getting site can't be reached message. This also occurs to few of my aio bookmarked links as well. |
Yeah the service worker is at fault here. |
Closing as the service worker issues were resolved, and the runtime does correctly generate angular.dev links now. |
Command
serve
Is this a regression?
The previous version in which this bug was not present was
No response
Description
When the cli reports any documentation links, it refers to angular.io. For example in this demo https://angular.io/errors/NG05000
However, there will be a remeasurement to the address https://v17.angular.io/errors/NG05000 and that's the end of it. No other redirection and only shows Page is not available. Expected link is https://angular.dev/errors/NG05000
Please edit the links to angular.dev.
I suppose that a redirect to angular.dev can be done as a temporary solution, but I believe that the solution is to fix the code in the cli.
The link is from this message, but I assume it will be the same for any documentation link.
NG05000: Angular detected that hydration was enabled for an application that uses a custom or a noop Zone.js implementation. This is not yet a fully supported configuration. Find more at https://angular.io/errors/NG05000
Minimal Reproduction
In this case you can create app with
ng new xyz --ssr true
and continue according to https://angular.dev/guide/experimental/zoneless. Then start withng serve
but I thing this is more general bug.Exception or Error
No response
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: