You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try start this make run but i see that path thunderbolt/backend/.pglite/data not created and i get error massage
Then i create thunderbolt/backend/.pglite/data error not show
workspace/thunderbolt$ make run
→ Starting backend and frontend development servers...
Backend will run on http://localhost:8000
Frontend will run on http://localhost:5173
Press Ctrl+C to stop both servers
cd backend && bun run dev &
BACKEND_PID=$!;
echo "\033[0;32m✓ Backend started (PID: $BACKEND_PID)\033[0m ";
sleep 2;
bun run dev || (kill $BACKEND_PID 2>/dev/null && exit 1)
✓ Backend started (PID: 744510)
$ bun run --watch src/index.ts ⚠️ RESEND_API_KEY is not set - emails will not be sent
INFO: Starting Thunderbolt Server...
INFO: Server configuration
logLevel: "INFO"
port: 8000
corsOrigins: [
"http://localhost:1420",
"tauri://localhost",
"http://tauri.localhost"
]
ERROR: Failed to start server
err: {
"type": "DrizzleQueryError",
"message": "Failed query: CREATE SCHEMA IF NOT EXISTS "drizzle"\nparams: : ENOENT: no such file or directory, mkdir '/home/mkuchumov/workspace/thunderbolt/backend/.pglite/data'",
"stack":
Error: Failed query: CREATE SCHEMA IF NOT EXISTS "drizzle"
params:
at queryWithCache (/home/mkuchumov/workspace/thunderbolt/backend/node_modules/drizzle-orm/pg-core/session.js:41:19)
at processTicksAndRejections (native:7:39)
caused by: Error: ENOENT: no such file or directory, mkdir '/home/mkuchumov/workspace/thunderbolt/backend/.pglite/data'
at mkdirSync (unknown)
at new m (/home/mkuchumov/workspace/thunderbolt/backend/node_modules/@electric-sql/pglite/dist/fs/nodefs.js:1:277)
at je (/home/mkuchumov/workspace/thunderbolt/backend/node_modules/@electric-sql/pglite/dist/index.js:1:6033)
at async (/home/mkuchumov/workspace/thunderbolt/backend/node_modules/@electric-sql/pglite/dist/index.js:3:277184)
at async _checkReady (/home/mkuchumov/workspace/thunderbolt/backend/node_modules/@electric-sql/pglite/dist/index.js:3:274026)
at async query (/home/mkuchumov/workspace/thunderbolt/backend/node_modules/@electric-sql/pglite/dist/chunk-HDIMFN25.js:8:266)
at async (/home/mkuchumov/workspace/thunderbolt/backend/node_modules/drizzle-orm/pglite/session.js:67:29)
at async queryWithCache (/home/mkuchumov/workspace/thunderbolt/backend/node_modules/drizzle-orm/pg-core/session.js:39:22)
at processTicksAndRejections (native:7:39)
"query": "CREATE SCHEMA IF NOT EXISTS "drizzle"",
"params": []
}
error: script "dev" exited with code 1
$ vite
Resolved input path: /home/mkuchumov/workspace/thunderbolt/node_modules/@powersync/web/dist/index.umd.js
Target directory: public
Assets copied from /home/mkuchumov/workspace/thunderbolt/node_modules/@powersync/web/dist to /home/mkuchumov/workspace/thunderbolt/public/@powerSync
VITE v7.3.2 ready in 823 ms
➜ Local: http://localhost:1420/
➜ press h + enter to show help
^Cmake: *** [Makefile:142: run] Прерывание
mkuchumov@NB-8606:~/workspace/thunderbolt$ make run
→ Starting backend and frontend development servers...
Backend will run on http://localhost:8000
Frontend will run on http://localhost:5173
Press Ctrl+C to stop both servers
cd backend && bun run dev &
BACKEND_PID=$!;
echo "\033[0;32m✓ Backend started (PID: $BACKEND_PID)\033[0m ";
sleep 2;
bun run dev || (kill $BACKEND_PID 2>/dev/null && exit 1)
✓ Backend started (PID: 746405)
$ bun run --watch src/index.ts ⚠️ RESEND_API_KEY is not set - emails will not be sent
INFO: Starting Thunderbolt Server...
INFO: Server configuration
logLevel: "INFO"
port: 8000
corsOrigins: [
"http://localhost:1420",
"tauri://localhost",
"http://tauri.localhost"
]
$ vite
Resolved input path: /home/mkuchumov/workspace/thunderbolt/node_modules/@powersync/web/dist/index.umd.js
Target directory: public
Assets copied from /home/mkuchumov/workspace/thunderbolt/node_modules/@powersync/web/dist to /home/mkuchumov/workspace/thunderbolt/public/@powerSync
INFO: 🦊 Elysia server started
port: 8000
url: "http://localhost:8000/v1"
VITE v7.3.2 ready in 2230 ms
➜ Local: http://localhost:1420/
➜ press h + enter to show help
^[[1;2B^Cmake: *** [Makefile:142: run] Прерывание
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I try start this make run but i see that path thunderbolt/backend/.pglite/data not created and i get error massage
Then i create thunderbolt/backend/.pglite/data error not show
workspace/thunderbolt$ make run
→ Starting backend and frontend development servers...
Backend will run on http://localhost:8000
Frontend will run on http://localhost:5173
Press Ctrl+C to stop both servers
cd backend && bun run dev &
⚠️ RESEND_API_KEY is not set - emails will not be sent
BACKEND_PID=$!;
echo "\033[0;32m✓ Backend started (PID: $BACKEND_PID)\033[0m ";
sleep 2;
bun run dev || (kill $BACKEND_PID 2>/dev/null && exit 1)
✓ Backend started (PID: 744510)
$ bun run --watch src/index.ts
INFO: Starting Thunderbolt Server...
INFO: Server configuration
logLevel: "INFO"
port: 8000
corsOrigins: [
"http://localhost:1420",
"tauri://localhost",
"http://tauri.localhost"
]
ERROR: Failed to start server
err: {
"type": "DrizzleQueryError",
"message": "Failed query: CREATE SCHEMA IF NOT EXISTS "drizzle"\nparams: : ENOENT: no such file or directory, mkdir '/home/mkuchumov/workspace/thunderbolt/backend/.pglite/data'",
"stack":
Error: Failed query: CREATE SCHEMA IF NOT EXISTS "drizzle"
params:
at queryWithCache (/home/mkuchumov/workspace/thunderbolt/backend/node_modules/drizzle-orm/pg-core/session.js:41:19)
at processTicksAndRejections (native:7:39)
caused by: Error: ENOENT: no such file or directory, mkdir '/home/mkuchumov/workspace/thunderbolt/backend/.pglite/data'
at mkdirSync (unknown)
at new m (/home/mkuchumov/workspace/thunderbolt/backend/node_modules/@electric-sql/pglite/dist/fs/nodefs.js:1:277)
at je (/home/mkuchumov/workspace/thunderbolt/backend/node_modules/@electric-sql/pglite/dist/index.js:1:6033)
at async (/home/mkuchumov/workspace/thunderbolt/backend/node_modules/@electric-sql/pglite/dist/index.js:3:277184)
at async _checkReady (/home/mkuchumov/workspace/thunderbolt/backend/node_modules/@electric-sql/pglite/dist/index.js:3:274026)
at async query (/home/mkuchumov/workspace/thunderbolt/backend/node_modules/@electric-sql/pglite/dist/chunk-HDIMFN25.js:8:266)
at async (/home/mkuchumov/workspace/thunderbolt/backend/node_modules/drizzle-orm/pglite/session.js:67:29)
at async queryWithCache (/home/mkuchumov/workspace/thunderbolt/backend/node_modules/drizzle-orm/pg-core/session.js:39:22)
at processTicksAndRejections (native:7:39)
"query": "CREATE SCHEMA IF NOT EXISTS "drizzle"",
"params": []
}
error: script "dev" exited with code 1
$ vite
Resolved input path: /home/mkuchumov/workspace/thunderbolt/node_modules/@powersync/web/dist/index.umd.js
Target directory: public
Assets copied from /home/mkuchumov/workspace/thunderbolt/node_modules/@powersync/web/dist to /home/mkuchumov/workspace/thunderbolt/public/@powerSync
VITE v7.3.2 ready in 823 ms
➜ Local: http://localhost:1420/
➜ press h + enter to show help
^Cmake: *** [Makefile:142: run] Прерывание
mkuchumov@NB-8606:~/workspace/thunderbolt$ make run
→ Starting backend and frontend development servers...
Backend will run on http://localhost:8000
Frontend will run on http://localhost:5173
Press Ctrl+C to stop both servers
cd backend && bun run dev &
⚠️ RESEND_API_KEY is not set - emails will not be sent
BACKEND_PID=$!;
echo "\033[0;32m✓ Backend started (PID: $BACKEND_PID)\033[0m ";
sleep 2;
bun run dev || (kill $BACKEND_PID 2>/dev/null && exit 1)
✓ Backend started (PID: 746405)
$ bun run --watch src/index.ts
INFO: Starting Thunderbolt Server...
INFO: Server configuration
logLevel: "INFO"
port: 8000
corsOrigins: [
"http://localhost:1420",
"tauri://localhost",
"http://tauri.localhost"
]
$ vite
Resolved input path: /home/mkuchumov/workspace/thunderbolt/node_modules/@powersync/web/dist/index.umd.js
Target directory: public
Assets copied from /home/mkuchumov/workspace/thunderbolt/node_modules/@powersync/web/dist to /home/mkuchumov/workspace/thunderbolt/public/@powerSync
INFO: 🦊 Elysia server started
port: 8000
url: "http://localhost:8000/v1"
VITE v7.3.2 ready in 2230 ms
➜ Local: http://localhost:1420/
➜ press h + enter to show help
^[[1;2B^Cmake: *** [Makefile:142: run] Прерывание
Beta Was this translation helpful? Give feedback.
All reactions