Chrome DevTools asks for a screenshot with form_factor set to wide
Your error
Richer PWA install UI won’t be available on desktop. Add at least one screenshot with the `form_factor` set to `wide`.1 more line it can showFix it fast
Most common cause, 1 of 3No screenshot carries form_factor wide
Add a landscape capture of the app with form_factor wide, and keep a narrow or unlabelled one so the mobile warning does not appear instead.
"screenshots": [
{
"src": "/screenshots/desktop-home.png",
"sizes": "1280x720",
"type": "image/png",
"form_factor": "wide",
"label": "Dashboard on a desktop screen"
},
{
"src": "/screenshots/mobile-home.png",
"sizes": "750x1334",
"type": "image/png",
"form_factor": "narrow",
"label": "Dashboard on a mobile screen"
}
]Short answer
Chrome DevTools warns that richer PWA install UI won't be available on desktop when no screenshots entry in the served manifest has form_factor exactly wide. Add a wide screenshot whose sizes match the real image, edit the manifest that is really served (vite-plugin-pwa writes its own), and keep each side within 320 to 3840 pixels. Applies to Chrome 159.
Which cause do you have?
Open DevTools > Application > Manifest and note the manifest URL it shows. Then fetch that URL and print the screenshots array exactly as the browser receives it.
curl -s https://example.com/manifest.webmanifest | python3 -m json.tool | grep -n -A6 '"screenshots"'Then find the line you see in this list and open its fix:
- 1No screenshot carries form_factor wide
The served screenshots array is missing, holds only tall mobile captures, or spells the value differently, such as Wide, desktop or landscape - 2vite-plugin-pwa serves a generated manifest, not the file you edited
The manifest URL in DevTools ends in manifest.webmanifest from the build, and your screenshots only exist in public/manifest.json - 3The wide image is there, but DevTools rejects or ignores it
The warning is gone, yet the Manifest pane lists an error such as size should be at least 320×320, Actual size doesn't match specified size, or same aspect ratio
What does the error look like?
Richer PWA install UI won’t be available on desktop. Add at least one screenshot with the `form_factor` set to `wide`.Richer PWA install UI won’t be available on mobile. Add at least one screenshot for which `form_factor` isn’t set or set to a value other than `wide`.
Cause 1 of 3
No screenshot carries form_factor wide
You seeThe served screenshots array is missing, holds only tall mobile captures, or spells the value differently, such as Wide, desktop or landscape
Check
DevTools counts desktop screenshots by comparing form_factor with the lowercase string wide and nothing else; with zero matches the desktop warning appears. Chrome's own announcement says the richer dialog needs at least one screenshot for the matching form factor. MDN calls a screenshot without form_factor suitable for all screens, but the DevTools desktop check still skips it.
curl -s https://example.com/manifest.webmanifest | grep -n 'form_factor'Fix
Add a landscape capture of the app with form_factor wide, and keep a narrow or unlabelled one so the mobile warning does not appear instead.
"screenshots": [
{
"src": "/screenshots/desktop-home.png",
"sizes": "1280x720",
"type": "image/png",
"form_factor": "wide",
"label": "Dashboard on a desktop screen"
},
{
"src": "/screenshots/mobile-home.png",
"sizes": "750x1334",
"type": "image/png",
"form_factor": "narrow",
"label": "Dashboard on a mobile screen"
}
]Verify
Reload the Manifest pane. Both richer install warnings are gone and the Screenshot rows show the images.
curl -s https://example.com/manifest.webmanifest | grep -c '"wide"'Confirmed by raw.githubusercontent.com
Cause 2 of 3
vite-plugin-pwa serves a generated manifest, not the file you edited
You seeThe manifest URL in DevTools ends in manifest.webmanifest from the build, and your screenshots only exist in public/manifest.json
Check
With vite-plugin-pwa, the Web App Manifest is produced from the manifest option in the Vite config at build time. Its docs say to set manifest to false when you want to ship your own manifest file from public, so a hand-edited public/manifest.json is a different file from the one the plugin writes.
grep -n -A12 'VitePWA(' vite.config.*Fix
Move the screenshots into the plugin's manifest option, or set manifest to false and link your own file. Then run a fresh build so the new manifest is written.
VitePWA({
manifest: {
name: 'My App',
screenshots: [
{ src: '/screenshots/desktop-home.png', sizes: '1280x720', type: 'image/png', form_factor: 'wide' },
{ src: '/screenshots/mobile-home.png', sizes: '750x1334', type: 'image/png', form_factor: 'narrow' }
]
}
})Verify
After a fresh build, the generated manifest contains the wide entry and DevTools shows it.
npm run build && grep -c 'wide' dist/manifest.webmanifestConfirmed by vite-pwa-org.netlify.app
Cause 3 of 3
The wide image is there, but DevTools rejects or ignores it
You seeThe warning is gone, yet the Manifest pane lists an error such as size should be at least 320×320, Actual size doesn't match specified size, or same aspect ratio
Check
DevTools checks each screenshot against its declared sizes and flags images under 320 or over 3840 pixels on a side, or with one side more than 2.3 times the other. When screenshots sharing a form_factor have different shapes, it warns that some of them will be ignored.
file screenshots/desktop-home.pngFix
Export each capture at exactly the pixel size written in sizes, inside those limits, and give all wide screenshots the same aspect ratio as the first wide one.
{ "src": "/screenshots/desktop-reports.png", "sizes": "1280x720", "type": "image/png", "form_factor": "wide" }Verify
The Manifest pane shows no image errors for the screenshots after a hard reload.
file screenshots/*.pngConfirmed by raw.githubusercontent.com
How do I stop it coming back?
- Store the screenshots next to the manifest with their pixel size in the file name, so a resized export is noticed in review.
- Add a CI step that parses the built manifest and fails when no entry has form_factor wide.
- With a PWA build plugin, keep the manifest in one place only: the plugin config or your own file, never both.
Sources
How was this page made?
I drafted this page with AI assistance from the official documents listed under Sources. Every cause above names the document that confirms it. I have not reproduced this fix on a machine of my own yet, so read it as documented guidance, not a test report. Found a mistake? Tell me.