question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"The start_url did respond, but not via a service worker"

See original GitHub issue

Hello,

I installed your plugin over a VueJS 3 / Vite 2 app, configured it as best as I can, and Lighthouse returns this error: image

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:closed
  • Created 3 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
RazerMooncommented, Feb 5, 2021

Just installed the Chrome beta, can confirm it is indeed a Lighthouse bug

image

0reactions
stefbacommented, Mar 10, 2021

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.

I think that is a Lighthouse’s bug, it has been fixed and will be ship with Chrome 89.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found