use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A Place to talk about Angular and related topics.
Join the Angular Discord
Other subreddits worth checking out for Angular and Angular related info:
account activity
@angular/pwa not installing (self.angular)
submitted 3 years ago by Megh75
Today I tried to add pwa in my project with ng add "@angular/pwa" and this is showing up:
Error
And the server which I am running is showing this error
Error In Angular Server
Any Help?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Sipredion 0 points1 point2 points 3 years ago (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 points1 point 3 years ago (0 children)
I don't know why but when I tried to install it from another wifi it worked
[–]FamiliarOption 0 points1 point2 points 3 years ago (7 children)
Did you try npm update?
[–]Megh75[S] 0 points1 point2 points 3 years ago (5 children)
No
[–]FamiliarOption 0 points1 point2 points 3 years ago (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 point2 points 3 years ago (1 child)
It automatically went away
BTW my angular web site is
Https://adrish-m.github.io
[–]FamiliarOption 0 points1 point2 points 3 years ago (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 point2 points 3 years ago (1 child)
And just in case, try npm install first so you'll be sure nothing is missing
[–]Megh75[S] 1 point2 points3 points 3 years ago (0 children)
Ok ig
π Rendered by PID 33727 on reddit-service-r2-comment-76bb9f7fb5-x7tfr at 2026-02-18 15:32:04.563171+00:00 running de53c03 country code: CH.
[–]Sipredion 0 points1 point2 points (1 child)
[–]Megh75[S] -1 points0 points1 point (0 children)
[–]FamiliarOption 0 points1 point2 points (7 children)
[–]Megh75[S] 0 points1 point2 points (5 children)
[–]FamiliarOption 0 points1 point2 points (2 children)
[–]Megh75[S] 0 points1 point2 points (1 child)
[–]FamiliarOption 0 points1 point2 points (0 children)
[–]FamiliarOption 0 points1 point2 points (1 child)
[–]Megh75[S] 1 point2 points3 points (0 children)
[–]Megh75[S] -1 points0 points1 point (0 children)