Answers for "unhandledpromiserejectionwarning: mongooseerror: the `uri` parameter to `openuri()` must be a string, got "undefined"."

0

unhandledpromiserejectionwarning: mongooseerror: the `uri` parameter to `openuri()` must be a string, got "undefined".

I think you miss importing env file.

require('dotenv').config({ path: 'ENV_FILENAME' });
Posted by: Guest on March-23-2021

Code answers related to "unhandledpromiserejectionwarning: mongooseerror: the `uri` parameter to `openuri()` must be a string, got "undefined"."

Browse Popular Code Answers by Language