---
title: Deployment or Production Build Error
description: some collective list of things to check when encountering deployment or production build error
published: true
date: 2023-08-24
tags:
  - deployment
  - production
---

Some things to check

- Network Connection
- API Keys
- Allowed Origins
- DNS configuration
- **ENV variables**
  - GitLab CI/CD Variables
  - Container Management Platform
  - PaaS Platform
- Feature Flags
- Missing variables
- Code Error
- False Branch
- Remote Config
- VPN
- Outstanding Bills
- False / Incorrect ENV values
- Reinstall node_modules
- Rebuild .next
- Compare package.json, make sure all required packages is installed
