MongoDB and Mongoose - Install and Set Up Mongoose I think the test is wrong!

Hi. I am very sure that I have connected to the database successfully, but the test always said: “mongoose is not connected”. My codes added to myApp.js is:
var mongodb = require(‘mongodb’);
const mongoose = require(“mongoose”);

mongoose.connect(process.env.MONGO_URI, {useNewUrlParser: true});

The url in .env file is:

The package.json is:

"name": "fcc-mongo-mongoose-challenges",
"version": "0.0.1",
"description": "A boilerplate project",
"main": "server.js",
"scripts": {
	"start": "node server.js"
"dependencies": {
	"express": "^4.12.4",
	"body-parser": "^1.15.2",
"mongodb": "^3.2.1",
"mongoose": "^4.3.0",
"dotenv": "^8.0.0"
"engines": {
	"node": "4.4.5"
"repository": {
	"type": "git",
	"url": "!/project/welcome-project"
"keywords": [
"license": "MIT"


I really think the test is wrong!!!

I am so frustrated. This is the first lesson. Not much thing to do. I copied the same codes that work for other people. Why doesnt’ work for me???

I have been stuck in this FIRST LESSON for several days. I give up. Anyone paste the correct answer here?

Succesfully Solved. The solution is simply to change mongoose version to 5.0.15 according to: