I am trying to run my application server and i keep getting the following error back
TypeError [ERR_INVALID_ARG_TYPE]: The "key" argument must be of type string or an instance of Buffer, TypedArray, DataView, or KeyObject. Received null
am using postgres as my database and below is the content of my db config file
development: {
database: 'app_dev',
use_env_variable: 'DATABASE_URL_DEV',
dialect: 'postgres',
},
test: {
database: 'app_test',
use_env_variable: 'DATABASE_URL_TEST',
dialect: 'postgres',
logging: false,
}
here am using Sequelize CLI [Node: 12.18.3, CLI: 5.5.1, ORM: 5.21.4]