Comments (2)
edit the line with the version of mongoose with following line:
"mongoose" : "~3.6.13",
then run from terminal,
npm install
from node-api.
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]' }
from node-api.
Related Issues (8)
- A little question HOT 2
- Unable to post using Postman HOT 1
- saving names HOT 2
- Do you have any other examples with a better degree of completion?
- POST Request won't give response HOT 11
- Error is throwing to Mongo DB. I am new to JS and NodeJS framework. Can you please tell me the possible solution. HOT 1
- Cannot GET /
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-api.