a year ago
Not sure where this error is coming from, works fine when i run things myself. I'm running a bun app but railway is technically using node provider. Build command is set to bun run build and start command is bun run start. This is the error im getting:
18f3504c-2225-4d87-895e-daaab26d174a
49 Replies
a year ago
https://github.com/quenti-io/quenti
This is the repo running
a year ago
is that project meant to be run with bun or node?
a year ago
bun
a year ago
and railway is running it with only node?
a year ago
im not entirely sure to be honest. i know railway has the provider listed as node
a year ago
check the build table
a year ago

a year ago
so it seems to be running with bun
a year ago
does it fail during build or runtime
a year ago
build
a year ago
what version of bun are you building it locally with
a year ago
1.2.0
a year ago
what version of bun is railway using?
a year ago
im trying to figure out
a year ago
bun install v1.1.34 (5e5e7c60) theres this log. i think that is the bun verison
a year ago
thats a fair bit older given how fast bun does new releases
a year ago
do you know how I can change the version
a year ago
nothing comes to mind for a public repo
a year ago
do they not provide an image?
a year ago
well i can fork it to run it
a year ago
not ideal, you may not keep your fork in sync
a year ago
right. do you know where the version of bun is defined so i can change it at least for personal use? or maybe make a pr
a year ago
its defined as a nix archive in a nixpacks.toml file
a year ago
I don't see that in the repo. I'm confused because if its not in the repo, cant it be changed?
a year ago
it would need to be in the repo to be able to change it
a year ago
is there instructions somewhere on how to write a nixpacks.toml
a year ago
a year ago
looks like you can't even get bun 1.2 on nix
a year ago
where can i go to see what i can get?
a year ago
is it a type of provider?
a year ago
a year ago
when i search for bun on that search it says its version 1.1.31, but according to railway we're using 1.1.34. Hows that able to happen?
a year ago
railway is using the unstable archive for bun
a year ago
gotcha.
a year ago
so other option is to fork and dockerize
a year ago
exactly
a year ago
okay
a year ago
i plan on turning it into a template
a year ago
hopefully itll get workin
a year ago
you will
a year ago
forked it and removed this text… its working now…

a year ago
I don't think you should be modifying the authors code like that, there's a reason they set that
a year ago
its in a config file. i can go and see if i can find the commit it was added in
a year ago
iit seems to be a bit of a dead project, code hasnt been updated in a year
a year ago
interesting
a year ago
do you know how to see the commit a line was changed in perchance? edit: found it
a year ago
git blame…
a year ago
apparently its a node deprecation. changing it to with preserves the functionality while not erroring out
a year ago
did not mean to ping on that sorry