MongoDB and Mongoose - Install and Set Up Mongoose

Mongoose V5.11.15 test fails. Dependency and connect OK.

Hello, I am seeking assistance with the Back End Development and APIs V8: Install and Set Up Mongoose challenge.

I am unable to pass, receiving failures on the following two tests:

  1. "mongoose version ^5.11.15" dependency should be in package.json

  2. "mongoose" should be connected to a database

Comprehensive Verification:

  • Dependency: My package.json file is correctly set with the required version: "mongoose": "^5.11.15".

  • Connection Code: My myApp.js uses the standard boilerplate mongoose.connect(...) and successfully logs “Successfully connected to MongoDB” upon running.

  • Environment Setup: My MONGO_URI is verified and my MongoDB Atlas Network Access is wide open (0.0.0.0/0).

Since I have confirmed the required dependency is present and the connection is active, I strongly suspect this is the known test runner bug for the V8 curriculum.

Has anyone found a successful workaround or a specific hosting configuration that allows the freeCodeCamp test suite to pass these requirements recently?

are you getting specific errors from the tests in the browser console?