"The start_url did respond, but not via a service worker"
See original GitHub issueHello,
I installed your plugin over a VueJS 3 / Vite 2 app, configured it as best as I can, and Lighthouse returns this error:
How can I fix this issue?
My vite.config.ts:
const config: UserConfig = {
plugins: [
vue(),
VitePWA({
manifest: {
icons: [
{
src: 'img/icons/graph-144.png',
sizes: '144x144',
type: 'image/png',
purpose: 'maskable'
}
],
theme_color: '#34b4e4'
}
})
],
alias: {
'@': resolve(__dirname, 'src')
}
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
`start_url` does not respond with a 200 when offline
If the browser doesn't receive an HTTP 200 response when accessing an app from the start_url , either the start_url isn't correct, or...
Read more >start_url does not respond with a 200 when offline
I am creating a PWA that works offline with a service worker. Right now it works correctly, but there ...
Read more >PWA, Unable to fetch start URL via service worker. · Issue #9429
The app at that URL doesn't seem like a working PWA. When I load the page in Chrome and go offline, nothing loads....
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 >Introducing the Service Worker - James Priest CV
If a page loads via a Service Worker, it will check for an update to the ... Let's go to the network for...
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
Just installed the Chrome beta, can confirm it is indeed a Lighthouse bug
This bug effectively breaks the normal PWA “Add to home screen” behavoir of my app. (The little Chrome icon is displayed on top of the app icon.) I am already on Chrome Mobile 89 on Android.