Replit mobile

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

Site cannot be installed: no matching service worker detected Manifest: property 'icons' must contain a 192x192px icon Site cannot be installed: does not meet criteria for installability Failed to register a ServiceWorker: script has unsupported MIME type
Site cannot be installed: no matching service worker detectedManifest: property 'icons' must contain a 192x192px iconSite cannot be installed: does not meet criteria for installabilityFailed to register a ServiceWorker: script has unsupported MIME type

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

  1. Validate your manifest — use Chrome DevTools > Application > Manifest to check for errors and warnings
  2. Check service worker registration — go to DevTools > Application > Service Workers and verify it is registered and active
  3. Add required icon sizes — include at least 192x192 and 512x512 PNG icons referenced correctly in the manifest
  4. Fix start_url — set start_url to "/" or your app's root path relative to the Replit deployment
  5. Run Lighthouse PWA audit — Chrome's Lighthouse tool specifically checks all PWA installability criteria

Real developers can help you.

Luca Liberati Luca Liberati I work on monoliths and microservices, backends and frontends, manage K8s clusters and love to design apps architecture Stanislav Prigodich Stanislav Prigodich 15+ years building iOS and web apps at startups and enterprise companies. I want to use that experience to help builders ship real products - when something breaks, I'm here to fix it. Vlad Temian Vlad Temian 15+ years shipping production infrastructure for startups. Former CTO at qed.builders (acquired by The Sandbox). Cursor ambassador and agentic tooling builder. I've scaled systems, automated deployments, and built observability tools for AI coding workflows. I specialize in taking vibe-coded apps from broken prototype to production-ready: fixing Supabase auth/RLS, Stripe integrations, deployment pipelines, and cleaning up AI-generated spaghetti. I build tools in this space (agentprobe, claudebin, micode) and understand both sides: how AI generates code and why it breaks. https://blog.vtemian.com/ Meïr Ankri Meïr Ankri Full-stack developer specializing in React / Next.js / Node.js with 6+ years of experience. I've worked across various sectors including automotive (Reezocar/Société Générale), healthcare (Medical Link SaaS), and e-commerce (Glasman). I build web apps end-to-end, from architecture to production, with a focus on scalability, performance, and code quality. I also mentor junior developers and contribute to technical decisions and code reviews. Jared Hasson Jared Hasson Full time lead founding dev at a cyber security saas startup, with 10 yoe and a bachelor's in CS. Building & debugging software products is what I've spent my time on for forever Jaime Orts-Caroff Jaime Orts-Caroff I'm a Senior Android developer, open to work in various fields Nam Tran Nam Tran 10 years as fullstack developer Anthony Akpan Anthony Akpan Developer with 8 years of experience building softwares fro startups Costea Adrian Costea Adrian Embedded Engineer specilizing in perception systems. Latest project was a adas camera calibration system. Dor Yaloz Dor Yaloz SW engineer with 6+ years of experience, I worked with React/Node/Python did projects with React+Capacitor.js for ios Supabase expert

You don't need to be technical. Just describe what's wrong and a verified developer will handle the rest.

Get Help

Frequently 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.

Related Replit Issues

Can't fix it yourself?
Real developers can help.

You don't need to be technical. Just describe what's wrong and a verified developer will handle the rest.

Get Help