a year ago
Im getting some error when trying to deploy my backend app that I just added prisma ORM to. I get the error below. Is there a way to update the version of bun that railway uses. I noticed i don't have this issue on my local enviroment which is using bun 1.0.35, but railway uses v1.0.11. Not sure if the issue is related to bun version since i can't recreate this locally.
```error: Could not resolve: ".prisma/client/index-browser". Maybe you need to "bun install"?
12 0.415 const prisma = require('.prisma/client/index-browser')```
ⓘ Deployment information is only viewable by Project members and Railway admins.
1 Replies
a year ago
Please provide the errors you are getting.
Is there a way to update the version of bun that railway uses
Yes, to an extent, you would only be able to have nixpacks install the latest version of bun available from nix packages, or use a Dockerfile.
Have you tried running bun 1.0.35 locally and seeing if you get an error?