No service worker and start_url are registered
See original GitHub issueHello!
I’ve update the module to 0.6.1
and I’ve always the same error of #32 issue…
It’s strange because when I look at the services workers in the browser, it appears well…
I was able to install the application on a mobile but the installation time was very long and not natural…
I didn’t get the notification either, I had to install it manually.
Here are some screenshots of the worker service in the browser and the return of Lighthouse:
Issue Analytics
- State:
- Created a year ago
- Comments:36 (21 by maintainers)
Top Results From Across the Web
No matching service worker detected. You may need to reload ...
You may need to reload the page, or check that the scope of the service worker for the current page encloses the scope...
Read more >Service worker is not registered or does not control Start URL
Service workers are only available with HTTPS, otherwise they won't register. – Felix Lemke. Apr 8, 2019 at 16:12.
Read more >Does not register a service worker that controls page and ...
Registering a service worker involves only a few lines of code, but the only reason you'd use a service worker is to make...
Read more >ServiceWorkerContainer.register() - Web APIs | MDN
The register() method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scriptURL.
Read more >PWA start_url constent issue - Netlify Support Forums
Your main.min.js (or anywhere else), does not seem to have the service worker registration code. It should be something like: navigator.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Corentin7301 Please have one more try with v0.7.2 🤞
@kevinmarrec And PWA is working!!! Just the time of PWA install is a little long… but I don’t think it is the module fault.
Thank you very much for your time, your fix and your module! 🚀