I have been trying to connect my project with mongoose, it connects successfully when I use the URL directly in mongoose.connect() function. But after I create a .env file and use it instead of the link in mongoose.connect()function, I am getting an error stating that
"MongoParseError: Invalid scheme, expected connection string to start with "mongodb://" or "mongodb+srv://"".