(node:14478) 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
logging error with Opbeat: { uuid: '2ec1fcab-2ec9-450e-b4f4-3ccaa24729b4' }
Error: listen EADDRINUSE :::8080
at Object._errnoException (util.js:1021:11)
at _exceptionWithHostPort (util.js:1043:20)
at Server.setupListenHandle (net.js:1344:14)
at Server._listen2 (/root/meeting-for-good/node_modules/opbeat/lib/instrumen tation/async-hooks.js:98:25)
at listenInCluster (net.js:1385:12)
at Server.listen (net.js:1469:7)
at Function.listen (/root/meeting-for-good/node_modules/express/lib/applicat ion.js:618:24)
at Object. (/root/meeting-for-good/build/app.js:118:5)
at Module._compile (module.js:624:30)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)
at Function.Module.runMain (module.js:665:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
Could not notify Opbeat { uuid: '2ec1fcab-2ec9-450e-b4f4-3ccaa24729b4' }
Error: Opbeat error (401): {
"error_message": "Invalid token",
"status": 401
}
at /root/meeting-for-good/node_modules/opbeat/lib/request.js:34:10
at IncomingMessage. (/root/meeting-for-good/node_modules/opbeat-h ttp-client/index.js:59:9)
at emitNone (events.js:110:20)
at IncomingMessage.emit (events.js:207:7)
at endReadableNT (_stream_readable.js:1057:12)
at opbeatCallbackWrapper (/root/meeting-for-good/node_modules/opbeat/lib/ins trumentation/index.js:105:27)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickDomainCallback (internal/process/next_tick.js:218:9)
at process.fallback (/root/meeting-for-good/node_modules/opbeat/lib/instrume ntation/async-hooks.js:531:17)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! meeting-for-good@1.0.13 dev: cross-env NODE_ENV=development node -r do tenv/config ./build/app.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the meeting-for-good@1.0.13 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional log ging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2017-10-18T20_30_44_553Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! meeting-for-good@1.0.13 serve: npm run clean && npm run copy && npm ru n build:server && npm run dev
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the meeting-for-good@1.0.13 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional log ging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2017-10-18T20_30_44_594Z-debug.log
`
I use Ubuntu 16.04
using npm@5.4.2
using node@v8.7.0
After I tried to create a VM with a clean install and I still had the same problem.
Everytime I try to deploy I get this error:
`> meeting-for-good@1.0.13 dev /root/meeting-for-good
(node:14478) DeprecationWarning: (/root/meeting-for-good/build/app.js:118:5)
at Module._compile (module.js:624:30)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)
at Function.Module.runMain (module.js:665:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
Could not notify Opbeat { uuid: '2ec1fcab-2ec9-450e-b4f4-3ccaa24729b4' }
Error: Opbeat error (401): {
"error_message": "Invalid token",
"status": 401
}
at /root/meeting-for-good/node_modules/opbeat/lib/request.js:34:10
at IncomingMessage. (/root/meeting-for-good/node_modules/opbeat-h ttp-client/index.js:59:9)
at emitNone (events.js:110:20)
at IncomingMessage.emit (events.js:207:7)
at endReadableNT (_stream_readable.js:1057:12)
at opbeatCallbackWrapper (/root/meeting-for-good/node_modules/opbeat/lib/ins trumentation/index.js:105:27)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickDomainCallback (internal/process/next_tick.js:218:9)
at process.fallback (/root/meeting-for-good/node_modules/opbeat/lib/instrume ntation/async-hooks.js:531:17)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! meeting-for-good@1.0.13 dev:
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 logging error with Opbeat: { uuid: '2ec1fcab-2ec9-450e-b4f4-3ccaa24729b4' } Error: listen EADDRINUSE :::8080 at Object._errnoException (util.js:1021:11) at _exceptionWithHostPort (util.js:1043:20) at Server.setupListenHandle (net.js:1344:14) at Server._listen2 (/root/meeting-for-good/node_modules/opbeat/lib/instrumen tation/async-hooks.js:98:25) at listenInCluster (net.js:1385:12) at Server.listen (net.js:1469:7) at Function.listen (/root/meeting-for-good/node_modules/express/lib/applicat ion.js:618:24) at Object.cross-env NODE_ENV=development node -r do tenv/config ./build/app.js
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the meeting-for-good@1.0.13 dev script. npm ERR! This is probably not a problem with npm. There is likely additional log ging output above.npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2017-10-18T20_30_44_553Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! meeting-for-good@1.0.13 serve:
npm run clean && npm run copy && npm ru n build:server && npm run dev
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the meeting-for-good@1.0.13 serve script. npm ERR! This is probably not a problem with npm. There is likely additional log ging output above.npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2017-10-18T20_30_44_594Z-debug.log `
I use Ubuntu 16.04 using npm@5.4.2 using node@v8.7.0
After I tried to create a VM with a clean install and I still had the same problem.