PWA Install Not Working on Replit-Hosted App
You built a Progressive Web App (PWA) with AI tools and deployed it on Replit, but the browser never shows the "Add to Home Screen" or "Install App" prompt. The app cannot be installed on phones or desktops as a standalone application.
PWA installation requires several technical criteria to be met: a valid web app manifest, a registered service worker, HTTPS, and specific icon sizes. Missing any one of these silently prevents installation without any error message to the user.
AI-generated PWA configurations are frequently incomplete — the manifest may have wrong paths, the service worker may fail to register, or required icon sizes may be missing. Replit's deployment URL structure can also cause path issues with manifest and service worker files.
Error Messages You Might See
Common Causes
- Invalid or missing manifest.json — the web app manifest file is missing, has wrong paths, or has invalid JSON
- Service worker not registering — the service worker file is not found or throws errors during registration
- Missing required icons — PWA requires specific icon sizes (192x192 and 512x512 minimum) that are not provided
- Wrong start_url in manifest — the start URL does not match the actual deployment path on Replit
- Service worker scope mismatch — the service worker's scope does not cover the app's pages
How to Fix It
- Validate your manifest — use Chrome DevTools > Application > Manifest to check for errors and warnings
- Check service worker registration — go to DevTools > Application > Service Workers and verify it is registered and active
- Add required icon sizes — include at least 192x192 and 512x512 PNG icons referenced correctly in the manifest
- Fix start_url — set start_url to "/" or your app's root path relative to the Replit deployment
- Run Lighthouse PWA audit — Chrome's Lighthouse tool specifically checks all PWA installability criteria
Real developers can help you.
You don't need to be technical. Just describe what's wrong and a verified developer will handle the rest.
Get HelpFrequently Asked Questions
How do I check if my PWA is installable?
Open Chrome DevTools, go to Application > Manifest. Chrome will list any issues preventing installation. You can also run a Lighthouse audit under the PWA category.
Does Replit support PWA hosting?
Yes, Replit serves your app over HTTPS which is required for PWAs. You just need to ensure your manifest.json, service worker, and icons are correctly configured.
What icon sizes does a PWA need?
At minimum, you need 192x192 and 512x512 pixel PNG icons. Some platforms also benefit from a 384x384 icon and a maskable icon version.