Quote Keeper: Errors Project on Laptop

Learn Model Testing TDD : Quote Keeper Project

https://www.codecademy.com/paths/web-development/tracks/test-driven-development-javascript/modules/learn-tdd-testing-models/projects/tdd-model-proj

I had this problem on another project (Dino one). When I try to do the project on my laptop and run npm test I get this error:

  1) Quote "before each" hook: connectAndDrop for "#quote is a string":
     MongoNetworkError: failed to connect to server [localhost:27017] on first connect [Error: connect ECONNREFUSED 127.0.0.1:27017
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
  name: 'MongoNetworkError'
}]

It must be related to connecting to the mongo, but I don’t know how to overcome this?

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.