The frontend can’t start because required environment variables are missing or invalid.
- NEXT_PUBLIC_OUTLAWS_ADDRESS is not set
- NEXT_PUBLIC_DUEL_ADDRESS is not set
- NEXT_PUBLIC_GRAVEYARD_ADDRESS is not set
- NEXT_PUBLIC_LAWS_ADDRESS is not set
- NEXT_PUBLIC_MINTDROP_ADDRESS is not set
- NEXT_PUBLIC_MARKETPLACE_ADDRESS is not set
To fix:
- Copy
frontend/.env.example to frontend/.env.local. - Fill in the contract addresses from your Anvil deployment.
- Restart the dev server (
Ctrl-C then npm run dev).