Closed Nidhi300197 closed 1 year ago
Facing the same issue, I am guessing the issue is with how we defined the configuration of dotenv in the seeder.js.
Because the same code is working in the server.js but is giving an error seeder.js
If you have resolved the error, can you share how you did it, if not would love to see your code.
Here's mine: https://github.com/pushkarsingh019/onlineShop
that's why there is no environment variables