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.

ISHANTDEEP SINGH ISHANTDEEP SINGH Senior Software Engineer with 7+ years of experience in React, JavaScript, TypeScript, Next.js, and Node.js. I’ve also worked as a tech lead for startups, owning end-to-end technical execution including architecture, development, scaling, and delivery. I bring a strong mix of hands-on coding, product thinking, and technical leadership, and I’m comfortable building products from scratch as well as improving and scaling existing systems. Victor Denisov Victor Denisov Developer Matthew Butler Matthew Butler Systems Development Engineer @ Amazon Web Services 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. Franck Plazanet Franck Plazanet I am a Strategic Engineering Leader with over 8 years of experience building high-availability enterprise systems and scaling high-performing technical teams. My focus is on bridging the gap between complex technology and business growth. Core Expertise: 🚀 Leadership: Managing and coaching teams of 15+ engineers, fostering a culture of accountability and continuous improvement. 🏗️ Architecture: Enterprise Core Systems, Multi-system Integration (ERP/API/ETL), and Core Database Structure. ☁️ Cloud & Scale: AWS Expert; architected systems handling 10B+ monthly requests and managing 100k+ SKUs. 📈 Business Impact: Aligning tech strategy with P&L goals to drive $70k+ in monthly recurring revenue. I thrive on "out-of-the-box" thinking to solve complex technical bottlenecks and am always looking for ways to use automation to improve business productivity. Rudra Bhikadiya Rudra Bhikadiya I build and fix web apps across Next.js, Node.js, and DBs. Comfortable jumping into messy code, broken APIs, and mysterious bugs. If your project works in theory but not in reality, I help close that gap. Daniel Vázquez Daniel Vázquez Software Engineer with over 10 years of experience on Startups, Government, big tech industry & consulting. Yovel Cohen Yovel Cohen I got a lot of experience in building Long-horizon AI Agents in production, Backend apps that scale to millions of users and frontend knowledge as well. Tejas Chokhawala Tejas Chokhawala Full-stack engineer with 5 years experience building production web apps using React, Next.js and TypeScript. Focused on performance, clean architecture and shipping fast. Experienced with Supabase/Postgres backends, Stripe billing, and building AI-assisted developer tools. Caio Rodrigues Caio Rodrigues I'm a full-stack developer focused on building practical and scalable web applications. My main experience is with **React, TypeScript, and modern frontend architectures**, where I prioritize clean code, component reusability, and maintainable project structures. I have strong experience working with **dynamic forms, state management (Redux / React Hook Form), and complex data-driven interfaces**. I enjoy solving real-world problems by turning ideas into reliable software that companies can actually use in their daily operations. Beyond coding, I care about **software quality and architecture**, following best practices for componentization, code organization, and performance optimization. I'm also comfortable working across the stack when needed, integrating APIs, handling business logic, and helping transform prototypes into production-ready systems. My goal is always to deliver solutions that are **simple, efficient, and genuinely useful for the people using them.**

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