Derock
Explore posts from serversDeployment Failed during build process(node 14)
iirc to change the node.js heap limit, you can set the environment variable
NODE_OPTIONS
to --max-old-space-size=4096
(changing 4096 to whatever you feel fits, this is in megabytes, so 4096 = 4096mb or 4GB)
see the nodejs docs for more info9 replies
DTDrizzle Team
•Created by Derock on 5/15/2024 in #help
need help with drizzle transactions and foreign key constraints
trying that exact same approach with drizzle-orm doesn't work:
8 replies
DTDrizzle Team
•Created by Derock on 5/15/2024 in #help
need help with drizzle transactions and foreign key constraints
was able to get this working in a very hacky way:
8 replies
DTDrizzle Team
•Created by Derock on 5/15/2024 in #help
need help with drizzle transactions and foreign key constraints
ok so they are actual transactions, https://discord.com/channels/1043890932593987624/1240832420945596416/1240958720033165354
still tryna figure out why this isn't working then
8 replies
DTDrizzle Team
•Created by Derock on 5/15/2024 in #help
need help with drizzle transactions and foreign key constraints
this errors with
cannot commit - no transaction is active
8 replies
DTDrizzle Team
•Created by Derock on 5/15/2024 in #help
need help with drizzle transactions and foreign key constraints
8 replies
DTDrizzle Team
•Created by Derock on 5/15/2024 in #help
need help with drizzle transactions and foreign key constraints
are drizzle transactions not real database transactions?
8 replies
DTDrizzle Team
•Created by Derock on 5/15/2024 in #help
need help with drizzle transactions and foreign key constraints
bump
8 replies
DTDrizzle Team
•Created by Derock on 4/23/2024 in #help
SQLite: set fk constraint to be "DEFERRABLE INITIALLY DEFERRED"
opened an issue: https://github.com/drizzle-team/drizzle-orm/issues/2252
3 replies
DTDrizzle Team
•Created by Derock on 4/23/2024 in #help
SQLite: set fk constraint to be "DEFERRABLE INITIALLY DEFERRED"
bump
3 replies
DTDrizzle Team
•Created by Derock on 4/27/2024 in #help
ts: Object literal may only specify known properties except the property is known
oh turns out
webhook.token
is of string | null
but ive created it as a non-nullable column. dont know why the ts error was so misleading5 replies
DTDrizzle Team
•Created by Derock on 4/27/2024 in #help
ts: Object literal may only specify known properties except the property is known
nevermind again, its not expecting an array
5 replies
DTDrizzle Team
•Created by Derock on 4/27/2024 in #help
ts: Object literal may only specify known properties except the property is known
just noticed the little
[]
at the end5 replies
DTDrizzle Team
•Created by Derock on 4/27/2024 in #help
ts: Object literal may only specify known properties except the property is known
nvm im dumb its wanting an array not one object
5 replies
is there a way to send a streaming response
just found https://github.com/trpc/trpc/pull/4911
6 replies
DTDrizzle Team
•Created by Derock on 12/19/2023 in #help
`no such table: main.__old_push_projects` after db push
actually ignore this, my stack trace is being very weird -- code completely unrelated to the issue for some reason is part of the trace.
19 replies
DTDrizzle Team
•Created by Derock on 12/19/2023 in #help
`no such table: main.__old_push_projects` after db push
looking closer at the stack trace, i think the error is coming from somewhere else in my code:
19 replies
DTDrizzle Team
•Created by Derock on 12/19/2023 in #help
`no such table: main.__old_push_projects` after db push
i deleted the old database and created a brand new one (I'm using better-sqlite3)
the only difference is that the old database also has a table called
__old_push_sessions
while the new one has no __old_push_
tables19 replies