! Gaetan Puleo
! Gaetan Puleo
Explore posts from servers
DTDrizzle Team
Created by ! Gaetan Puleo on 12/5/2024 in #help
Fighting with migrations
What should I do to start again with migration and what is the workflow to cancel a migration (get back in previous state) Rollback is missing in drizzle
3 replies
DTDrizzle Team
Created by ! Gaetan Puleo on 12/5/2024 in #help
Fighting with migrations
⣷] applying migrations...LibsqlError: SQLITE_OK: not an error
at mapSqliteError (file:///home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/@libsql/client/lib-esm/sqlite3.js:372:16)
at executeStmt (file:///home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/@libsql/client/lib-esm/sqlite3.js:277:15)
at file:///home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/@libsql/client/lib-esm/sqlite3.js:111:24
... 3 lines matching cause stack trace ...
at migrate (/home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/src/libsql/migrator.ts:46:19) {
code: 'SQLITE_OK',
rawCode: 0,
[cause]: SqliteError: not an error
at convertError (/home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/libsql/index.js:51:12)
at Statement.run (/home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/libsql/index.js:301:13)
at executeStmt (file:///home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/@libsql/client/lib-esm/sqlite3.js:270:34)
at file:///home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/@libsql/client/lib-esm/sqlite3.js:111:24
at Array.map (<anonymous>)
at Sqlite3Client.migrate (file:///home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/@libsql/client/lib-esm/sqlite3.js:107:38)
at LibSQLSession.migrate (/home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/src/libsql/session.ts:90:42)
at migrate (/home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/src/libsql/migrator.ts:46:19) {
code: 'SQLITE_OK',
rawCode: 0
}
⣷] applying migrations...LibsqlError: SQLITE_OK: not an error
at mapSqliteError (file:///home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/@libsql/client/lib-esm/sqlite3.js:372:16)
at executeStmt (file:///home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/@libsql/client/lib-esm/sqlite3.js:277:15)
at file:///home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/@libsql/client/lib-esm/sqlite3.js:111:24
... 3 lines matching cause stack trace ...
at migrate (/home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/src/libsql/migrator.ts:46:19) {
code: 'SQLITE_OK',
rawCode: 0,
[cause]: SqliteError: not an error
at convertError (/home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/libsql/index.js:51:12)
at Statement.run (/home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/libsql/index.js:301:13)
at executeStmt (file:///home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/@libsql/client/lib-esm/sqlite3.js:270:34)
at file:///home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/@libsql/client/lib-esm/sqlite3.js:111:24
at Array.map (<anonymous>)
at Sqlite3Client.migrate (file:///home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/@libsql/client/lib-esm/sqlite3.js:107:38)
at LibSQLSession.migrate (/home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/src/libsql/session.ts:90:42)
at migrate (/home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/src/libsql/migrator.ts:46:19) {
code: 'SQLITE_OK',
rawCode: 0
}
3 replies
DTDrizzle Team
Created by ! Gaetan Puleo on 10/14/2024 in #help
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './connect' is not defined by "exports"
Ok i don't have the right version 0.33.0 BUT if the api is "doomed", the documentation should be updated
2 replies
HHono
Created by ! Gaetan Puleo on 5/26/2024 in #help
Hot reload not working? (BUN)
I may I found a way to ditch vite. I use this package https://github.com/aabccd021/bun-html-live-reload
export default withHtmlLiveReload({
fetch: app.fetch,
});
export default withHtmlLiveReload({
fetch: app.fetch,
});
And I launch my app with bun --hot src/index.tsx The page is reloading after each save.
7 replies
HHono
Created by ! Gaetan Puleo on 5/26/2024 in #help
Hot reload not working? (BUN)
It's a bug coming from vite, the plugin or bun?
7 replies
HHono
Created by ! Gaetan Puleo on 5/26/2024 in #help
Hot reload not working? (BUN)
I use 1.1.7
7 replies