Giter Club home page Giter Club logo

telegraph-clone's Introduction

telegraph-clone's People

Contributors

itsjzt avatar saurabh-codeword avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

telegraph-clone's Issues

MongoNetworkError: failed to connect to server [ds019634.mlab.com:19634]

I get the following Error when trying to run this.
I have installed the module dotenv.
I am not sure how to fix this Error because I am not really experienced in Node.js

D:\Desktop\telegraph-clone-master>node index.js
app listening on port 3000!
connection error: MongoNetworkError: failed to connect to server [ds019634.mlab.com:19634] on first connect [Error: getaddrinfo ENOTFOUND ds019634.mlab.com
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
  name: 'MongoNetworkError'
}]
    at Pool.<anonymous> (D:\Desktop\telegraph-clone-master\node_modules\mongodb-core\lib\topologies\server.js:503:11)
    at Pool.emit (node:events:513:28)
    at Connection.<anonymous> (D:\Desktop\telegraph-clone-master\node_modules\mongodb-core\lib\connection\pool.js:326:12)
    at Object.onceWrapper (node:events:628:26)
    at Connection.emit (node:events:513:28)
    at Socket.<anonymous> (D:\Desktop\telegraph-clone-master\node_modules\mongodb-core\lib\connection\connection.js:245:50)
    at Object.onceWrapper (node:events:628:26)
    at Socket.emit (node:events:513:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^
MongoNetworkError: failed to connect to server [ds019634.mlab.com:19634] on first connect [Error: getaddrinfo ENOTFOUND ds019634.mlab.com
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
  name: 'MongoNetworkError'
}]
    at Pool.<anonymous> (D:\Desktop\telegraph-clone-master\node_modules\mongodb-core\lib\topologies\server.js:503:11)
    at Pool.emit (node:events:513:28)
    at Connection.<anonymous> (D:\Desktop\telegraph-clone-master\node_modules\mongodb-core\lib\connection\pool.js:326:12)
    at Object.onceWrapper (node:events:628:26)
    at Connection.emit (node:events:513:28)
    at Socket.<anonymous> (D:\Desktop\telegraph-clone-master\node_modules\mongodb-core\lib\connection\connection.js:245:50)
    at Object.onceWrapper (node:events:628:26)
    at Socket.emit (node:events:513:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Node.js v19.4.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.