a year ago
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
Wich is where my types from supabase is genarated by the supabase cli.
is there away to ignore the file?
0 Replies
a year ago
N/A
a year ago
kinda seems like youd need that file though?
a year ago
Yeah i do. But i don't know how to fix it
a year ago
make sure the file is utf-8
a year ago
mabye i need to rename it?
a year ago
I'm not sure what the file name has to do with it being utf-8
a year ago
idk too, but i never getten this error before.
a year ago
I can share the file?
a year ago
^
a year ago
no need, just make sure it's utf-8
a year ago
It fixed the error. By renaming it