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
Percy2y ago
Project ID: 77f86b2e-8734-40ea-8f7c-ef7b4b082047
Ashwin
AshwinOP2y ago
77f86b2e-8734-40ea-8f7c-ef7b4b082047
Ashwin
AshwinOP2y ago
what does the v0.4.0 mean on the bun install? is that the version of bun being used?
Brody
Brody2y ago
yes
Ashwin
AshwinOP2y 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
Brody2y ago
use a dockerfile
Ashwin
AshwinOP2y ago
have a tutorial for me to follow along?
Brody
Brody2y 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
AshwinOP2y 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
Brody2y 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
AshwinOP2y ago
oh i see thanks for the info :) oh one last thing, will u guys bump it directly to v18?
Brody
Brody2y 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
AshwinOP2y ago
ten four, thanks again!
Want results from more Discord servers?
Add your server