79234057

Date: 2024-11-28 13:27:37
Score: 1.5
Natty:
Report link

I hope this solves your problem.

  1. Check if the .env.local file is correctly located in the root.
  2. Use console.log(process.env) to debug which variables are available.
  3. Ensure dotenv is installed and correctly loaded if running outside Next.js.
  4. Ensure you are not adding the NEXT_PUBLIC_ prefix to MONGODB_URI, as it is meant for server-side usage.

Thanks. Good Luck!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: AlphaCoX