Matt
Matt
Explore posts from servers
BABetter Auth
Created by mihaaai on 3/30/2025 in #bug-reports
Can't generate migrations using D1 on Cloudflare Workers
I do exactly what Ping suggests - I have an auth.server.ts in <projectRoot>/app/auth/ and then I have an auth.ts file in the project root.
5 replies
BABetter Auth
Created by dennis on 3/25/2025 in #help
Providing additional fields when signing up via magic link
If you really want to collect the info upfront (assuming you're using next actions/react router): 1) send the additional fields up to the server with the users email 2) save the field values in an encrypted cookie, and then call the send magic link API on the server to send the email. 3) when the user hits the callback route you can read the cookie, update the user and then destroy the cookie afterwards
5 replies
BABetter Auth
Created by Reis on 3/19/2025 in #help
The inferred type of 'authClient' cannot be named without a reference to [email protected]
Ignore me, TS got stuck. Installing nanostores worked!
8 replies
BABetter Auth
Created by Reis on 3/19/2025 in #help
The inferred type of 'authClient' cannot be named without a reference to [email protected]
I also tried installing nanostores with no luck
8 replies
BABetter Auth
Created by Reis on 3/19/2025 in #help
The inferred type of 'authClient' cannot be named without a reference to [email protected]
I've got the same issue but with nanostores: TS2742: The inferred type of authClient cannot be named without a reference to .pnpm/[email protected]/node_modules/nanostores. This is likely not portable. A type annotation is necessary. I have "lib": ["DOM", "DOM.Iterable", "ES2022"], and strict set in my TS config. I'm on version 1.2.4
8 replies
CDCloudflare Developers
Created by Jacob on 9/4/2024 in #d1-database
Hi, I am having troubble setting up
Create a the file the error says is missing (meta/journel.json). Drizzle should do the rest.
2 replies
DTDrizzle Team
Created by Matt on 6/21/2024 in #help
D1_ERROR: near \"ilike\":
Answer: SQLite doesn't support ilike and isn't case sensitive!
3 replies
DTDrizzle Team
Created by Matt on 6/21/2024 in #help
D1_ERROR: near \"ilike\":
This seems to work if I use like over ilike
3 replies