Code Monkey home page Code Monkey logo

Comments (2)

anoopk23 avatar anoopk23 commented on September 28, 2024

edit the line with the version of mongoose with following line:
"mongoose" : "~3.6.13",
then run from terminal,
npm install

from node-api.

helongliang avatar helongliang commented on September 28, 2024

can't run node server.js as it gives me the following error.

Magic happens on port 8080
(node:10048) DeprecationWarning: open() is deprecated in mongoose >= 4.11.0, u
se openUri() instead, or set the useMongoClient option if using connect()
or createConnection(). See http://mongoosejs.com/docs/connections.html#use-mon
go-client
connection error: { MongoError: failed to connect to server [novus.modulusmongo.
net:27017] on first connect [MongoError: connect ETIMEDOUT 54.209.84.209:27017]
at Pool. (E:\work\holon_code\node\node-api\node_modules\mongodb-c
ore\lib\topologies\server.js:336:35)
at emitOne (events.js:116:13)
at Pool.emit (events.js:211:7)
at Connection. (E:\work\holon_code\node\node-api\node_modules\mon
godb-core\lib\connection\pool.js:280:12)
at Object.onceWrapper (events.js:317:30)
at emitTwo (events.js:126:13)
at Connection.emit (events.js:214:7)
at Socket. (E:\work\holon_code\node\node-api\node_modules\mongodb
-core\lib\connection\connection.js:187:49)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at emitErrorNT (internal/streams/destroy.js:64:8)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
name: 'MongoError',
message: 'failed to connect to server [novus.modulusmongo.net:27017] on first
connect [MongoError: connect ETIMEDOUT 54.209.84.209:27017]' }

from node-api.

Related Issues (8)

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.