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