No matching service worker detected. You may need to reload the page

We have added the PWA to our Ionic application. ngsw-config.json,and manifest.webmanifest fiels and assets folder are created and index.html file is included with manifest.webmanifest reference and service worker is included in app.module.ts file successfully. But when We run audit the the application we are getting no matching service worker detected. You may need to reload the page, or check that the service worker for the current page also controls the start URL from the manifest error.

3 Likes

Did you find a solution please ?

Any solution for this case?

did anyone get solution for above question? Iā€™m also facing same issue with ionic project,

212/5000

Hello I was with the same problem, apparently when doing ionic serve --prod it does not lift from the production / www folder.
I was able to solve by doing:
ionic build --prod
sudo npm install -g http-server
cd www
http-server