SDCore
SDCore
Explore posts from servers
RRailway
Created by SDCore on 10/5/2023 in #✋|help
How to use the latest version of Bun
Hey hi hello, I'm trying to update to 1.0.4 bc there's been a few claimed memory improvements and I wanna try to see if I still have 3x memory usage compared to Node, but railway still uses 1.0.2 Sips could totally test it locally; but I don't want to (I'm stubborn) and even if I did, would still be nice to use the latest version when I deploy WattsonHeart
8 replies
RRailway
Created by SDCore on 8/20/2023 in #✋|help
Can't set a private project to public
Whenever I try to set a private project to public, I get the error "All services in a public project must have a public GitHub repo attached", despite the repo of the only service in the project being public
15 replies
DIAdiscord.js - Imagine an app
Created by SDCore on 8/18/2023 in #djs-questions
Is it possible to set a "global" bot status instead of a per-shard status?
Essentially, I just want to be able to update the status once for the entire bot. Since I grab data from an API, and an API call 13 times (once per shard) isn't exactly ideal
3 replies
RRailway
Created by SDCore on 6/10/2023 in #✋|help
Error: no such file or directory - what's the file structure?
Hi! I'm trying to access locally stored images in my Node project, under /images/. I've tried both process.cwd() and __dirname, but they have the same result of not being able to find the images on railway. Locally on Windows 11 it works fine, but in Railway, it errors
[Error: ENOENT: no such file or directory, stat '/app/images/nonRanked/Duos.png']
[Error: ENOENT: no such file or directory, stat '/app/images/nonRanked/Duos.png']
Am I doing something wrong? I feel like I'm doing something wrong. The code in question is just:
attachment: `${process.cwd()}/images/nonRanked/${mode}.png`,
attachment: `${process.cwd()}/images/nonRanked/${mode}.png`,
6 replies