sdelements / lets-chat

Self-hosted chat app for small teams
http://sdelements.github.io/lets-chat
MIT License
9.76k stars 1.58k forks source link

error on app.js #835

Open ReallyRandom48 opened 1 year ago

ReallyRandom48 commented 1 year ago

Hi All, Im new to lets-chat, mongo and node so I'm in over my head here If I'm reading this log correctly, there's an issue with app.js

0 info it worked if it ends with ok 1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ] 2 info using npm@2.7.4 3 info using node@v0.12.2 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info prestart lets-chat@0.4.8 6 info start lets-chat@0.4.8 7 verbose unsafe-perm in lifecycle true 8 info lets-chat@0.4.8 Failed to exec start script 9 verbose stack Error: lets-chat@0.4.8 start:node app.js 9 verbose stack Exit status 1 9 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:213:16) 9 verbose stack at EventEmitter.emit (events.js:110:17) 9 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:14:12) 9 verbose stack at ChildProcess.emit (events.js:110:17) 9 verbose stack at maybeClose (child_process.js:1015:16) 9 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1087:5) 10 verbose pkgid lets-chat@0.4.8 11 verbose cwd /home/ubuntu/letschat/lets-chat 12 error Linux 6.2.0-24-generic 13 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" 14 error node v0.12.2 15 error npm v2.7.4 16 error code ELIFECYCLE 17 error lets-chat@0.4.8 start:node app.js 17 error Exit status 1 18 error Failed at the lets-chat@0.4.8 start script 'node app.js'. 18 error This is most likely a problem with the lets-chat package, 18 error not with npm itself. 18 error Tell the author that this fails on your system: 18 error node app.js 18 error You can get their info via: 18 error npm owner ls lets-chat 18 error There is likely additional logging output above. 19 verbose exit [ 1, true ]

I'm on Mongo 4.4.22, Ubuntu 20.04