Giter Club home page Giter Club logo

Comments (10)

JeanMeche avatar JeanMeche commented on June 18, 2024 2

Yeah the service worker is at fault here.

from angular.

JeanMeche avatar JeanMeche commented on June 18, 2024 1

Hi, it looks like there is an issue with the service work. If you clean your browser cache, you'll be fine.

from angular.

alan-agius4 avatar alan-agius4 commented on June 18, 2024

These errors are generated by the framework runtime and not by the Angular CLI.

from angular.

atiris avatar atiris commented on June 18, 2024

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.

JeanMeche avatar JeanMeche commented on June 18, 2024

The one from your browser, you can clean your data in the application tab of the devtools.

Screenshot 2024-05-24 at 16 29 25

from angular.

atiris avatar atiris commented on June 18, 2024

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.

image

However, after launch I still see it like this.

image

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

image

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.

JeanMeche avatar JeanMeche commented on June 18, 2024

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.

atiris avatar atiris commented on June 18, 2024

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.

image

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.

sasidharansd avatar sasidharansd commented on June 18, 2024

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.

image

from angular.

alxhub avatar alxhub commented on June 18, 2024

Closing as the service worker issues were resolved, and the runtime does correctly generate angular.dev links now.

from angular.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.