CyberNinjas / TallyCTF

Capture-The-Flag Scoreboard & CTF Event Running Software.
GNU General Public License v3.0
7 stars 5 forks source link

UnhandledPromiseRejectionWarning: Error: Connection strategy not found #13

Open Jnchi opened 5 years ago

Jnchi commented 5 years ago
docker-compose up
[ . . . TRUNCATED . . . ]
tally_ctf_1  | (node:18) UnhandledPromiseRejectionWarning: Error: Connection strategy not found
tally_ctf_1  |     at new MongoStore (/home/node/tallyctf/node_modules/connect-mongo/src/index.js:127:15)
tally_ctf_1  |     at Object.module.exports.initSession (/home/node/tallyctf/config/lib/express.js:125:12)
tally_ctf_1  |     at Object.module.exports.init (/home/node/tallyctf/config/lib/express.js:244:8)
tally_ctf_1  |     at /home/node/tallyctf/config/lib/app.js:27:23
tally_ctf_1  |     at /home/node/tallyctf/config/lib/mongoose.js:36:15
tally_ctf_1  |     at /home/node/tallyctf/node_modules/mongoose/lib/connection.js:735:13
tally_ctf_1  |     at processTicksAndRejections (internal/process/task_queues.js:93:5)
tally_ctf_1  | (node:18) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
tally_ctf_1  | (node:18) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Commit: https://github.com/CyberNinjas/TallyCTF/commit/8cd5004362149eee63121b4ede1ad2e07e10d2aa

Jnchi commented 5 years ago

See: https://github.com/jdesboeufs/connect-mongo/issues/332