will
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by will on 7/15/2024 in #djs-questions
Recurring "Cannot send an empty message" error
Hello, I'm intermittently getting hit with 50006 "Cannot send an empty message" errors in a production environment using discord.js. I can't seem to find any pattern aside from the fact that it occurs when sending attachments, specifically text files I've created server-side. Simply running a command multiple times will sometimes succeed and sometimes fail. Any ideas as to why this could be happening?!
94 replies
bun: command not found
Hello,
I'm trying to migrate my project to bun to make TS easier, and I'm when deploying, the logs get spammed with "/bin/bash: line 1: bun: command not found". I have a bun.lockb file, so it should auto-detect bun, no?
My start command is
bun run start
which runs bun --smol run src/main.ts
Please let me know what more I can provide!
Project ID: 70bac78f-22aa-44c7-b196-a54ada2d52c8
24 replies
NodeJS web app issues
Hello!
I'm trying to deploy my NodeJS web app (using Fastify), but I'm running into an error (
Application Error > Is your app correctly listening on $PORT?
) I am correctly listening to process.env.PORT
, however.
My project ID is 97f8d68c-ca6e-469c-b7c3-f922f74c2cd6
. Any help would be appreciated :)14 replies