Supabase Nixpacks Error

When trying to deploy to prod using nixpacks with bun. It throws:
Error: Error reading src/types/database.types.ts

Caused by:

stream did not contain valid UTF-8
Error: Error reading src/types/database.types.ts

Caused by:

stream did not contain valid UTF-8
Wich is where my types from supabase is genarated by the supabase cli. is there away to ignore the file?
Solution:
make sure the file is utf-8
P
Percy16d ago
Project ID: N/A
L
lasse16d ago
N/A
B
Brody16d ago
kinda seems like youd need that file though?
L
lasse16d ago
Yeah i do. But i don't know how to fix it
Solution
B
Brody16d ago
make sure the file is utf-8
L
lasse16d ago
mabye i need to rename it?
B
Brody16d ago
I'm not sure what the file name has to do with it being utf-8
L
lasse16d ago
idk too, but i never getten this error before. I can share the file?
B
Brody16d ago
^ no need, just make sure it's utf-8
L
lasse16d ago
It fixed the error. By renaming it. Thanks for the help :D
Want results from more Discord servers?
Add your server
More Posts
Railway errorHi, I'm having trouble deploying on Railway. When I try to deploy, I get an error saying, 'Oh No! LClone DB service?Can I "clone" a db service in railway? I'm looking for the easiest way to take a snapshot of a db seTransferring servicesIs it possible to move services to another project? I know you can recreate them but that would deleUsage Reports not per monthI like to track expenses for each month, but railway doesn't seem to track monthly expenses like othPrisma migrate dev errorthe issue is like that; when i start project normally. it works and it connect database . there is nNextjs memory usage issueHie everyone i just deployed a basic nextjs 14 app and its averaging 1.8GB of memory usage.. is thiTrial reset (testing)Tried Railway for Laravel about a year ago and had no success, had to remain on Heroku for time beinAccess blockedHello, i have this problem railway.app has not completed the Google verification process. The app isCan't get www to work on railwayI'm trying to have it so that users can go to www.mypetnote.com and be redirected to my project whic503 error after adding TailwindCSS into my projectSo I recently decided to style my website with tailwindcss as vanilla CSS was becoming quite. tediouError using mailgun apilibrary: 'SSL routines', reason: 'wrong version number',Need help on the billingI had a problem with the payment that has already been arranged, will my services be automatically rData migration to another databaseHello. I want to migrate my data from a database in one of my accounts to the database in a new accoTransfer one service from one project to anotherHow i can transfer my service from one project to anotherHelp with GhostThe Ghost forum is dead so that's why I post here. I added a third tier and it does not show up on tCould not find a suitable TLS CA certificate bundleDeploying the fast api tepmplate with 3.11 and pdm https://github.com/railwayapp-templates/fastapi/tPush to GitHubI have a telegram bot that locally stores user ids. And every time a new user logs in, this file witTCP connection via private railway network times out48f3719a-323b-4609-812c-5b818714b649 deployment id, 2d76fc7b-e09c-410f-b7e3-117dfccc41bf project id.Cron job(s) didn't run on schedule (every 6 hours)The last execution was around 15 hours ago, around the time I deployed it via Github.Trial with Pro planHey there! We are a very small startup! I just signed up with Railway and checked the pricing plans.