Need help running bun app

2 years 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

Closed

49 Replies

2 years ago

https://github.com/quenti-io/quenti

This is the repo running


2 years ago

is that project meant to be run with bun or node?


2 years ago

bun


2 years ago

and railway is running it with only node?


2 years ago

im not entirely sure to be honest. i know railway has the provider listed as node


2 years ago

check the build table


2 years ago

1332796405345030184


2 years ago

so it seems to be running with bun


2 years ago

does it fail during build or runtime


2 years ago

build


2 years ago

what version of bun are you building it locally with


2 years ago

1.2.0


2 years ago

what version of bun is railway using?


2 years ago

im trying to figure out


2 years ago

bun install v1.1.34 (5e5e7c60) theres this log. i think that is the bun verison


2 years ago

thats a fair bit older given how fast bun does new releases


2 years ago

do you know how I can change the version


2 years ago

nothing comes to mind for a public repo


2 years ago

do they not provide an image?


2 years ago

well i can fork it to run it


2 years ago

not ideal, you may not keep your fork in sync


2 years 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


2 years ago

its defined as a nix archive in a nixpacks.toml file


2 years ago

I don't see that in the repo. I'm confused because if its not in the repo, cant it be changed?


2 years ago

it would need to be in the repo to be able to change it


2 years ago

is there instructions somewhere on how to write a nixpacks.toml


2 years ago


2 years ago

looks like you can't even get bun 1.2 on nix


2 years ago

where can i go to see what i can get?


2 years ago

is it a type of provider?


2 years ago


2 years 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?


2 years ago

railway is using the unstable archive for bun


2 years ago

gotcha.


2 years ago

so other option is to fork and dockerize


2 years ago

exactly


2 years ago

okay


2 years ago

i plan on turning it into a template


2 years ago

hopefully itll get workin


2 years ago

you will


2 years ago

forked it and removed this text... its working now...

1332812751600619591


2 years ago

I don't think you should be modifying the authors code like that, there's a reason they set that


2 years ago

its in a config file. i can go and see if i can find the commit it was added in


2 years ago

iit seems to be a bit of a dead project, code hasnt been updated in a year


2 years ago

interesting


2 years ago

do you know how to see the commit a line was changed in perchance? edit: found it


2 years ago

git blame...


2 years ago

apparently its a node deprecation. changing it to with preserves the functionality while not erroring out


2 years ago

did not mean to ping on that sorry


Welcome!

Sign in to your Railway account to join the conversation.

Loading...