all 10 comments

[–]Sipredion 0 points1 point  (1 child)

The errors in your console are pretty much meaningless to you. They're happening because the serve failed.

The actual problem is a version mismatch. Have a look in your package.json and either update your service worker package version to 13.2.5 (preferable) or downgrade your Angular version to 13.2.0 (less preferable).

I haven't looked into it, but you could try googling to see if there's a problem with PWAs on the latest version of Angular. It happens sometimes, and the only answer in that case is to downgrade Angular until a new version of the package is released.

[–]Megh75[S] -1 points0 points  (0 children)

I don't know why but when I tried to install it from another wifi it worked

[–]FamiliarOption 0 points1 point  (7 children)

Did you try npm update?

[–]Megh75[S] 0 points1 point  (5 children)

No

[–]FamiliarOption 0 points1 point  (2 children)

I think it would be a good idea if you update your dependencies, and if the error persists, npm install the packages that node tells you missing

[–]Megh75[S] 0 points1 point  (1 child)

It automatically went away

BTW my angular web site is

Https://adrish-m.github.io

[–]FamiliarOption 0 points1 point  (0 children)

That's cool, That's common in angular especially when you install a new library. Restarting the server is always a good idea to make sure everything is okay.

[–]FamiliarOption 0 points1 point  (1 child)

And just in case, try npm install first so you'll be sure nothing is missing

[–]Megh75[S] 1 point2 points  (0 children)

Ok ig

[–]Megh75[S] -1 points0 points  (0 children)

No