udplabs/ecommerce-demo

dotenv is not initialized and the .env file is not loaded

Closed this issue · 1 comments

needed to add
require('dotenv').config() in index.js of app

This is not necessary. Per the README, run npm run dev from the app subdirectory. That's where the dotenv dependency gets brought in.