Open mdrijwan opened 7 years ago
edit the line with the version of mongoose with following line:
"mongoose" : "~3.6.13",
then run from terminal,
npm install
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 seopenUri()
instead, or set theuseMongoClient
option if usingconnect()
orcreateConnection()
. 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]' }
can't run
node server.js
as it gives me the following error.