replit-common-errors

Featured

Diagnose and fix the top Replit errors: container sleep, port binding, Nix failures, DB limits. Use when encountering Replit errors, debugging failed deployments, or troubleshooting workspace and hosting issues. Trigger with phrases like "replit error", "fix replit", "replit not working", "debug replit", "replit broken", "replit deploy failed".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Replit Common Errors ## Overview Quick reference for the 10 most common Replit errors with real solutions. Covers container lifecycle, Nix configuration, database, deployment, and networking issues. ## Prerequisites - Replit Workspace access - Shell tab for diagnostics - Console tab for error logs ## Error Reference ### 1. Container Sleeping / App Goes Offline ``` Error: Your Repl is sleeping. Run it to wake up. ``` **Cause:** Free/Hacker plan Repls sleep after ~5 minutes of inactivity. **Solution:** - Use Replit Deployments (Autoscale or Reserved VM) for always-on - Or set up external keep-alive pinging (UptimeRobot, cron-job.org) - Check: Settings > Always On (deprecated in favor of Deployments) --- ### 2. Port Binding / Webview Not Loading ``` Error: EADDRINUSE: address already in use :::3000 ``` **Cause:** Previous process still holding the port, or hardcoded port conflicts. **Solution:** ```bash # Find and kill the process lsof -i :3000 | grep LISTEN kill -9 <PID> # Or use environment variable for port ``` ```typescript // Always use PORT env var const port = parseInt(process.env.PORT || '3000'); app.listen(port, '0.0.0.0'); // Must be 0.0.0.0, not localhost ``` --- ### 3. Nix Package Build Failure ``` Error: error: Package 'python-xyz' not found in channel 'stable-23_05' ``` **Cause:** Package name wrong, or Nix channel too old. **Solution:** ```nix # replit.nix — update channel and fix package names { pkgs }: { deps = [ pkgs.nodejs-20_x # not...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

replit-advanced-troubleshooting

Debug hard Replit issues: container lifecycle, Nix build failures, deployment crashes, and memory leaks. Use when standard troubleshooting fails, investigating intermittent failures, or diagnosing complex Replit platform behavior. Trigger with phrases like "replit hard bug", "replit mystery error", "replit impossible to debug", "replit intermittent", "replit deep debug".

2,266 Updated today
jeremylongshore
AI & Automation Featured

replit-known-pitfalls

Avoid the top Replit anti-patterns: ephemeral filesystem, public secrets, port binding, Nix gotchas, and database limits. Use when reviewing Replit code, onboarding developers, or auditing existing Replit apps for common mistakes. Trigger with phrases like "replit mistakes", "replit anti-patterns", "replit pitfalls", "replit what not to do", "replit code review".

2,266 Updated today
jeremylongshore
AI & Automation Featured

replit-performance-tuning

Optimize Replit app performance: cold start, memory, Nix caching, and deployment speed. Use when experiencing slow startup, high memory usage, deployment timeouts, or optimizing Replit container resource usage. Trigger with phrases like "replit performance", "optimize replit", "replit slow", "replit cold start", "replit memory", "replit startup time".

2,266 Updated today
jeremylongshore
AI & Automation Featured

replit-upgrade-migration

Upgrade Replit Nix channels, migrate between database types, and update deployment targets. Use when upgrading Nix channel versions, migrating from Replit DB to PostgreSQL, switching deployment types, or updating system dependencies. Trigger with phrases like "upgrade replit", "replit nix upgrade", "migrate replit database", "replit version update", "replit channel update".

2,266 Updated today
jeremylongshore
AI & Automation Featured

replit-reliability-patterns

Implement reliability patterns for Replit: cold start handling, graceful shutdown, persistent state, and keep-alive. Use when building fault-tolerant Replit apps, handling container restarts, or adding resilience to production Replit deployments. Trigger with phrases like "replit reliability", "replit container restart", "replit data persistence", "replit always on", "replit graceful shutdown".

2,266 Updated today
jeremylongshore