I cloned https://telegra.ph
itsjzt / telegraph-clone Goto Github PK
View Code? Open in Web Editor NEWI cloned https://telegra.ph
I cloned https://telegra.ph
I cloned https://telegra.ph
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
Как запустить проект?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.