Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bot crashes in Preview page in web interface #53

Closed
Darwin1546 opened this issue Sep 27, 2024 · 1 comment
Closed

Bot crashes in Preview page in web interface #53

Darwin1546 opened this issue Sep 27, 2024 · 1 comment

Comments

@Darwin1546
Copy link

Preview page crashes the bot
$Preview command in Discord channel working normal

Sep 27 01:00:12 28613.yacolo.sib.network node[614792]: Server is running on port 8080
Sep 27 01:00:12 28613.yacolo.sib.network node[614792]: /home/dc_stream/streambot/StreamBot/node_modules/express/lib/response.js:441
Sep 27 01:00:12 28613.yacolo.sib.network node[614792]:     throw new TypeError('path must be absolute or specify root to res.sendFile');
Sep 27 01:00:12 28613.yacolo.sib.network node[614792]:           ^
Sep 27 01:00:12 28613.yacolo.sib.network node[614792]: TypeError: path must be absolute or specify root to res.sendFile
Sep 27 01:00:12 28613.yacolo.sib.network node[614792]:     at ServerResponse.sendFile (/home/dc_stream/streambot/StreamBot/node_modules/express/lib/response.js:441:11)
Sep 27 01:00:12 28613.yacolo.sib.network node[614792]:     at /home/dc_stream/streambot/StreamBot/dist/server.js:311:13
Sep 27 01:00:12 28613.yacolo.sib.network node[614792]:     at Layer.handle [as handle_request] (/home/dc_stream/streambot/StreamBot/node_modules/express/lib/router/layer.js:95:5)
Sep 27 01:00:12 28613.yacolo.sib.network node[614792]:     at next (/home/dc_stream/streambot/StreamBot/node_modules/express/lib/router/route.js:149:13)
Sep 27 01:00:12 28613.yacolo.sib.network node[614792]:     at Route.dispatch (/home/dc_stream/streambot/StreamBot/node_modules/express/lib/router/route.js:119:3)
Sep 27 01:00:12 28613.yacolo.sib.network node[614792]:     at Layer.handle [as handle_request] (/home/dc_stream/streambot/StreamBot/node_modules/express/lib/router/layer.js:95:5)
Sep 27 01:00:12 28613.yacolo.sib.network node[614792]:     at /home/dc_stream/streambot/StreamBot/node_modules/express/lib/router/index.js:284:15
Sep 27 01:00:12 28613.yacolo.sib.network node[614792]:     at param (/home/dc_stream/streambot/StreamBot/node_modules/express/lib/router/index.js:365:14)
Sep 27 01:00:12 28613.yacolo.sib.network node[614792]:     at param (/home/dc_stream/streambot/StreamBot/node_modules/express/lib/router/index.js:376:14)
Sep 27 01:00:12 28613.yacolo.sib.network node[614792]:     at param (/home/dc_stream/streambot/StreamBot/node_modules/express/lib/router/index.js:376:14)
Sep 27 01:00:12 28613.yacolo.sib.network node[614792]: Node.js v18.20.4
Sep 27 01:00:12 28613.yacolo.sib.network systemd[1]: streambot.service: Main process exited, code=exited, status=1/FAILURE
@ysdragon
Copy link
Owner

Thank you for reporting.
Fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants