Comments (10)
Yeah the service worker is at fault here.
from angular.
Hi, it looks like there is an issue with the service work. If you clean your browser cache, you'll be fine.
from angular.
These errors are generated by the framework runtime and not by the Angular CLI.
from angular.
Hi. Thank you both for the guidance.
If i could ask you nicely, could you tell me more precisely which cache it is? I tried this:
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).
from angular.
The one from your browser, you can clean your data in the application tab of the devtools.
from angular.
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 ng serve
again, message is again: Find more at https://angular.io/errors/NG05000 with angular.io.
Then, click on it, it redirects me to https://v17.angular.io/docs not to angular.dev.
It's still not ok, but at worst I won't end up with a non-existent site.
from angular.
You need clear it when on https://v17.angular.io/docs
Also, we fixed the url in the logs, they will be shipped with the next patch version.
from angular.
Ok, now (after clear) https://angular.io/errors/NG05000 redirects to https://v17.angular.io/docs
Then (I assume) that the application for v17 (v17.angular.io) is cached again and when I enter the url (https://angular.io/errors/NG05000) second time, it is processed differently, in case of a second attempt to open this url I get no redirect but "canceled" and "CORS policy error". Tested in incognito mode.
Can you confirm this (that second time is link from cli unavailable)?
But this issue is about links from cli that still points to angular.io like Find more at https://angular.io/errors/NG05000
So if you already fixed this in cli next patch version, we can wait and ignore this strange behavior on the second visit to the url redirected from angular.io to v17.angular.io. Since it doesn't look like a bug in the cli, but in the processing of the redirect in the application v17.angular.io.
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.
from angular.
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.
from angular.
Closing as the service worker issues were resolved, and the runtime does correctly generate angular.dev links now.
from angular.
Related Issues (20)
- Page not found in documentation on Vite HOT 2
- Infinite money glitch HOT 1
- Update docs to add context on how invalid HTML breaks hydration and how to detect it automatically HOT 1
- Diagram does not match description HOT 2
- ERROR Error: ASSERTION ERROR: Expecting LContainer [Expected=> null !== null <=Actual] HOT 2
- Angular.dev is missing a lot of information HOT 1
- Not able to view https://angular.dev/tools/cli/esbuild HOT 1
- Missing https://angular.dev/errors/NG0913 site
- Directive composition: Composed directive should be able to set inputs of constituent directives
- Angular compilation failing after migrating to V16 HOT 5
- https://angular.dev/api/localize/init/$localize HOT 1
- `effect()` should have an option to run outside of an injection context HOT 3
- adev: API should show the alias of inputs and outputs
- While migrations the - angular version 8 to 10 I am facing the issue HOT 1
- Error link reported by ag HOT 1
- Component under @defer can not find injected services - R3InjectorError(DeferBlock Injector) error. HOT 1
- Vulnerability in package: @angular/localize > fast-glob > micromatch > braces HOT 1
- list of complete pipes link does not work HOT 1
- Fixit: Land #55183 to fix `this.` in templates
- Inect not working in normal function HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular.