Bolt performance

WebContainer Slow Startup - App Takes Time to Boot

Your Bolt WebContainer takes a long time to start - 30+ seconds before seeing the dev server running. Development workflow is slow due to startup delays.

This happens consistently, making every new session wait.

Error Messages You Might See

WebContainer initialization timeout Node modules taking 2+ minutes to install Dev server not starting after 5 minutes Spinning loader never completes
WebContainer initialization timeoutNode modules taking 2+ minutes to installDev server not starting after 5 minutesSpinning loader never completes

Common Causes

  1. Large node_modules size slowing file system
  2. Many dependencies causing npm install to take forever
  3. Post-install scripts (build, setup) in package.json taking time
  4. WebContainer downloading dependencies on first run
  5. Heavy TypeScript compilation on startup

How to Fix It

Minimize dependencies: remove unused packages, audit with npm ls

Use npm ci instead of npm install for faster, deterministic installs

Remove unnecessary postinstall scripts or make them optional

Pre-compile TypeScript if possible, or disable strict mode in dev

Clear npm cache in Bolt: might be cached from previous run

Consider using pnpm instead of npm (faster for monorepos)

Real developers can help you.

hanson1014 hanson1014 Full-stack developer experienced in fixing and deploying AI-generated apps from Lovable, Bolt.new, Cursor, and Replit. I specialize in debugging Supabase integration issues (auth flows, RLS policies, database connections), fixing broken deployments, resolving routing/blank screen problems, and cleaning up messy React/Vite codebases. I also build production apps with the Claude API and have shipped a Mac desktop dev tool (Nexterm from scratch. Based in Hong Kong, fast turnaround. Jaime Orts-Caroff Jaime Orts-Caroff I'm a Senior Android developer, open to work in various fields 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. Daniel Vázquez Daniel Vázquez Software Engineer with over 10 years of experience on Startups, Government, big tech industry & consulting. David Olverson David Olverson Solo dev shipping production apps with AI-assisted development. I specialize in rescuing broken Lovable/Bolt/Cursor builds and taking them to production. 10+ apps shipped including SaaS CRMs, gaming platforms, real estate tools, and Discord bots. Stack: Next.js 16, TypeScript, Tailwind CSS, FastAPI, PostgreSQL, Prisma. I use Claude Code with 50+ custom skills for rapid delivery. Average turnaround: 2-4 weeks from broken prototype to production. Krishna Sai Kuncha Krishna Sai Kuncha Experienced Professional Full stack Developer with 8+ years of experience across react, python, js, ts, golang and react-native. Developed inhouse websearch tooling for AI before websearch was solved : ) 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 Costea Adrian Costea Adrian Embedded Engineer specilizing in perception systems. Latest project was a adas camera calibration system. Victor Denisov Victor Denisov Developer 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/

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

Why is WebContainer slow on first run?

Downloading node_modules, dependencies, and setting up environment. Subsequent runs are cached

Should I commit node_modules?

No, Bolt installs fresh. Keep package-lock.json committed for reproducible builds

How do I speed up dependencies?

Use pnpm (faster), audit and remove unused packages, use npm ci instead of install

Related Bolt 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