R
Railway16mo ago
Ashwin

Bun (could not resolve an installed package)

Hey guys, any idea to what the fix to this is? Been scratching my head for hours lol. It deff has it installed and is working locally too, when I run railway run bun run src/index.ts on my local CLI, it works fine too.
14 Replies
Percy
Percy16mo ago
Project ID: 77f86b2e-8734-40ea-8f7c-ef7b4b082047
Ashwin
Ashwin16mo ago
77f86b2e-8734-40ea-8f7c-ef7b4b082047
Ashwin
Ashwin16mo ago
what does the v0.4.0 mean on the bun install? is that the version of bun being used?
Brody
Brody16mo ago
yes
Ashwin
Ashwin16mo ago
the latest version of bun is current 0.5.7, i suspect this has something to do w the error is there a planned upgrade anytime soon or a way for me to update the version?
Brody
Brody16mo ago
use a dockerfile
Ashwin
Ashwin16mo ago
have a tutorial for me to follow along?
Brody
Brody16mo ago
even bun itself is experiential, i would recommend you to use node since you wouldn't be able to maintain your own dockerfile
Ashwin
Ashwin16mo ago
really love bun tho xd, will just figure out the docker stuff is there a planned upgrade to 0.5.7 anytime soon?
Brody
Brody16mo ago
alright, then but has its own docs not that im aware of, bun is low priority compared to node and even node is on v16
Ashwin
Ashwin16mo ago
oh i see thanks for the info :) oh one last thing, will u guys bump it directly to v18?
Brody
Brody16mo ago
it defaults to 16, but you can change that to 18 theres no option to set bun version Dockerfile is the way to go for optimal bun support
Ashwin
Ashwin16mo ago
ten four, thanks again!