DEV Community

Discussion on: Getting Started with Sequelize and Postgres

Collapse
 
robbies82 profile image
Rob

You should consider editing this article to also instruct the user to install the dotenv package. Otherwise, reading the database config file will fail once the user goes to migrate the database.

They will get "ERROR: Error reading "database\config\config.js". Error: Error: Cannot find module 'dotenv'"

Collapse
 
nedsoft profile image
Chinedu Orie

Thanks for pointing this out! will do