# Deployment errors

Find your error message, why it happens and the commands that fix it.

## All errors

- [No package.json found](/errors/no-package-json)
- [No start script or Node.js entry file found](/errors/no-start-script)
- [package.json is not valid](/errors/invalid-package-json)
- [Build artifact is larger than 500 MB](/errors/artifact-too-large)
- [No successful deployment to redeploy](/errors/no-successful-deployment)
- [Deploy the app first](/errors/deploy-the-app-first)
- [Each project can have at most 3 apps](/errors/too-many-apps)
- [You can have at most 3 projects](/errors/too-many-projects)
- [Domain is already connected to an app](/errors/domain-already-connected)
- [Domain is an EasyHost domain and can't be added](/errors/easyhost-domain-rejected)
- [npm ci: package.json and package-lock.json are not in sync](/errors/npm-ci-out-of-sync)
- [npm ci rejects a lockfile made by a newer npm](/errors/npm-lockfile-node-version)
- [sh: next: not found](/errors/command-not-found)
- [Error: Cannot find module](/errors/cannot-find-module)
- [ERR_MODULE_NOT_FOUND on startup](/errors/err-module-not-found)
- [EADDRINUSE: address already in use](/errors/eaddrinuse)
- [Build succeeds, but the app is unreachable](/errors/app-not-listening)
- [JavaScript heap out of memory](/errors/heap-out-of-memory)
- [Container exits with code 137](/errors/exit-code-137)
- [npm warn EBADENGINE unsupported engine](/errors/ebadengine)
- [@prisma/client did not initialize yet](/errors/prisma-client-not-generated)
- [Prisma P1001: Can't reach database server](/errors/prisma-p1001)
- [Prisma P3014: could not create the shadow database](/errors/prisma-p3014)
- [Too many database connections](/errors/too-many-connections)
- [Postgres connection rejected without TLS](/errors/pg-ssl-required)
- [Query timed out in the CLI](/errors/statement-timeout)
- [SignatureDoesNotMatch from S3](/errors/s3-signature-mismatch)
- [S3 client cannot resolve the bucket hostname](/errors/s3-bucket-hostname)
- [NoSuchBucket from S3](/errors/s3-no-such-bucket)
- [AccessDenied from S3](/errors/s3-access-denied)
- [Domain verification fails](/errors/domain-verify-failed)
- [Environment variable is undefined](/errors/env-missing-at-runtime)
- [NEXT_PUBLIC variable is undefined in the browser](/errors/public-env-undefined)
- [sharp fails to load on Alpine](/errors/sharp-musl)
- [node-gyp fails: could not find Python](/errors/node-gyp-python)
- [tsc: not found](/errors/tsc-not-found)
- [husky fails during install](/errors/husky-prepare)
- [Uploaded files disappear after deploy](/errors/file-disappeared)
- [Next.js deploys, but the app is unreachable](/errors/nextjs-app-unreachable)
- [Nuxt deploys, but the app is unreachable](/errors/nuxt-app-unreachable)
- [Express deploys, but the app is unreachable](/errors/express-app-unreachable)
- [Fastify deploys, but the app is unreachable](/errors/fastify-app-unreachable)
- [NestJS deploys, but the app is unreachable](/errors/nestjs-app-unreachable)
- [Hono deploys, but the app is unreachable](/errors/hono-app-unreachable)
- [Koa deploys, but the app is unreachable](/errors/koa-app-unreachable)
- [AdonisJS deploys, but the app is unreachable](/errors/adonisjs-app-unreachable)
- [Remix deploys, but the app is unreachable](/errors/remix-app-unreachable)
- [SvelteKit deploys, but the app is unreachable](/errors/sveltekit-app-unreachable)
- [Astro deploys, but the app is unreachable](/errors/astro-app-unreachable)
- [Strapi deploys, but the app is unreachable](/errors/strapi-app-unreachable)
