SamK
SamK
EDSEthan's dev spot
Created by SamK on 11/9/2023 in #questions
BETH stack tutorial - HRANA_WEBSOCKET_ERROR
I'm going through the BETH stack tutorial in a Linux docker. So far everything's been going well, but I ran into a problem when trying to execute bunx drizzle-kit push:sqlite Does anyone have any suggestions of why this might be happening / how to fix it?
root@b3e1215faf77:/workspaces/TodoListBETH/beth-stack# bunx drizzle-kit push:sqlite

No config path provided, using default path
Reading config file '/workspaces/TodoListBETH/beth-stack/drizzle.config.ts'
drizzle-kit: v0.19.13
drizzle-orm: v0.28.6

43324 | code;
43325 | constructor(message, code, cause) {
43326 | if (code !== void 0) {
43327 | message = `${code}: ${message}`;
43328 | }
43329 | super(message, { cause });
^
LibsqlError: HRANA_WEBSOCKET_ERROR: Unexpected server response: 404
code: "HRANA_WEBSOCKET_ERROR"

at new LibsqlError (/workspaces/TodoListBETH/beth-stack/node_modules/drizzle-kit/index.cjs:43329:8)
at mapHranaError (/workspaces/TodoListBETH/beth-stack/node_modules/drizzle-kit/index.cjs:48441:11)
at /workspaces/TodoListBETH/beth-stack/node_modules/drizzle-kit/index.cjs:48575:16
at processTicksAndRejections (:61:76)
root@b3e1215faf77:/workspaces/TodoListBETH/beth-stack# bunx drizzle-kit push:sqlite

No config path provided, using default path
Reading config file '/workspaces/TodoListBETH/beth-stack/drizzle.config.ts'
drizzle-kit: v0.19.13
drizzle-orm: v0.28.6

43324 | code;
43325 | constructor(message, code, cause) {
43326 | if (code !== void 0) {
43327 | message = `${code}: ${message}`;
43328 | }
43329 | super(message, { cause });
^
LibsqlError: HRANA_WEBSOCKET_ERROR: Unexpected server response: 404
code: "HRANA_WEBSOCKET_ERROR"

at new LibsqlError (/workspaces/TodoListBETH/beth-stack/node_modules/drizzle-kit/index.cjs:43329:8)
at mapHranaError (/workspaces/TodoListBETH/beth-stack/node_modules/drizzle-kit/index.cjs:48441:11)
at /workspaces/TodoListBETH/beth-stack/node_modules/drizzle-kit/index.cjs:48575:16
at processTicksAndRejections (:61:76)
7 replies