Quote Keeper: Errors Project on Laptop

Learn Model Testing TDD : Quote Keeper Project


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
    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.