04-23-2018, 04:37 PM
(04-23-2018, 03:45 PM)PapoKarlo Wrote: npm install mongojs
in gekko directory
thank
Code:
<-- GET /api/exchanges
--> GET /api/exchanges 200 8ms 100.21kb
<-- POST /api/scansets
/home/eml/gekko/node_modules/mongodb/lib/mongo_client.js:421
throw err
^
MongoError: failed to connect to server [mongodb:27017] on first connect [MongoError: getaddrinfo EAI_AGAIN mongodb:27017]
at Pool.<anonymous> (/home/eml/gekko/node_modules/mongodb-core/lib/topologies/server.js:336:35)
at Pool.emit (events.js:180:13)
at Connection.<anonymous> (/home/eml/gekko/node_modules/mongodb-core/lib/connection/pool.js:280:12)
at Object.onceWrapper (events.js:272:13)
at Connection.emit (events.js:180:13)
at Socket.<anonymous> (/home/eml/gekko/node_modules/mongodb-core/lib/connection/connection.js:189:49)
at Object.onceWrapper (events.js:272:13)
at Socket.emit (events.js:180:13)
at emitErrorNT (internal/streams/destroy.js:64:8)
at process._tickCallback (internal/process/next_tick.js:178:19)
Emitted 'error' event at:
at /home/eml/gekko/node_modules/mongojs/lib/database.js:31:16
at connectCallback (/home/eml/gekko/node_modules/mongodb/lib/mongo_client.js:527:5)
at /home/eml/gekko/node_modules/mongodb/lib/mongo_client.js:418:11
at process._tickCallback (internal/process/next_tick.js:176:11)