Closed kimdonginsu01 closed 1 year ago
I had a very similar issue where I got 404 errors from the same websocket. I tried working with the Turso devs as others seemed to have similar issues with this exact repo. There were a couple of package updates that seemed to fix the issue for most people, but not me. My workaround was to run the db:push command through npm instead of bun. Then the rest of the app works fine (as the api commands then have a table to refer to). Seems to be a specific issue with pushing via drizzle-kit using bun's sqlite - and might be a network or firewall issue.
thank you for the issue
I am 100% focused on the new Beth stack template I'm making as part of the next video coming out in around a week.
If you want the latest immediately you can check it out at ethanniser/beth-big
a ton of things have improved in recent versions of the libsql stuff feel free to reopen if you have a problem
I got this issue when trying to run db:push. Bun: 1.0.2 OS: Ubuntu 20.04
$ bunx drizzle-kit push:sqlite No config path provided, using default path Reading config file '/home/tuyenhm@aht.local/Desktop/projects/the-beth-stack/drizzle.config.ts' drizzle-kit: v0.19.13 drizzle-orm: v0.27.2
Node.js v18.17.1 error: "drizzle-kit" exited with code 1 (SIGHUP) error: script "db:push" exited with code 1 (SIGHUP)
Anyone knows how to fix?