-
Notifications
You must be signed in to change notification settings - Fork 18
Troubleshooting: Common Setup Issues
This page documents common installation and setup problems and how to resolve them. If you face an issue not listed here, please open a new issue or update this page.
-
Application fails to start or build
-
Errors like Unsupported engine, SyntaxError, or build failures
- An incompatible Node.js version is installed
- Check your Node.js version:
node -v
-
Verify the required Node.js version from the project documentation.
-
Install and use the correct version (recommended: nvm):
nvm install <required-version>
nvm use <required-version>
- Reinstall dependencies:
rm -rf node_modules package-lock.json
npm install
-
Errors during npm install or npm run build
-
Messages like ERESOLVE or peer dependency conflict
- Conflicting package versions or corrupted dependencies
- Remove existing dependencies:
rm -rf node_modules package-lock.json
- Reinstall dependencies:
npm install
- If the issue persists:
npm install --legacy-peer-deps
- Use only one package manager (do not mix npm and yarn).
-
App runs but features don’t work
-
Errors related to missing configuration
- Required environment variables are not set
-
Locate .env.example in the repository.
-
Create a .env file:
cp .env.example .env
-
Fill in all required values.
-
Restart the development server:
npm run dev
-
App builds but crashes at runtime
-
Blank screen or unexpected behavior
- Cached builds or outdated dependencies
-
Stop the server.
-
Clean and rebuild:
rm -rf node_modules package-lock.json
npm install
npm run build
npm run dev
- Check browser console and terminal logs for details.
-
Read error messages carefully—they usually point to the root cause.
-
Ensure your local setup matches the project documentation.
-
When asking for help, include:
-
Node.js version
-
Error logs
-
Steps to reproduce the issue