kalaivanan
kalaivanan
CDCloudflare Developers
Created by Hymns For Disco on 5/23/2024 in #pages-help
Update D1 schema on build of Pages project?
Try using drizzle orm and migrate while deployment. Easy way is include 'npm run migrate' in deploy script.
3 replies
HHono
Created by Sun「無用」 on 5/5/2024 in #help
Setting up Client Components
hi, Have you find the way to render client component?
5 replies
CDCloudflare Developers
Created by kalaivanan on 5/7/2024 in #pages-help
[Error: Failed to retrieve the Cloudflare request context.] { digest: '2404449318'}
fixed it, [[env.production.d1_databases]] was not added in config
2 replies
CDCloudflare Developers
Created by Alex Kontos on 5/7/2024 in #pages-help
Help debugging 500 errors?
You can provide deployment ID, it will be easily for cloudflare team to check for more details
5 replies
CDCloudflare Developers
Created by kalaivanan on 5/7/2024 in #pages-help
How to access to binding variables during nextjs build process?
Thanks a lot
14 replies
CDCloudflare Developers
Created by kalaivanan on 5/7/2024 in #pages-help
How to access to binding variables during nextjs build process?
So during build process, it is trying to get DB instance
14 replies
CDCloudflare Developers
Created by kalaivanan on 5/7/2024 in #pages-help
How to access to binding variables during nextjs build process?
export const runtime = "edge";
export { GET, POST } from "@/auth";
export const runtime = "edge";
export { GET, POST } from "@/auth";
Im using GET and POST in [...nextauth].route.ts that are returned from NextAuth
14 replies
CDCloudflare Developers
Created by kalaivanan on 5/7/2024 in #pages-help
How to access to binding variables during nextjs build process?
I dont know why but, it is trying to access during build time in my nextjs app
14 replies
CDCloudflare Developers
Created by kalaivanan on 5/7/2024 in #pages-help
How to access to binding variables during nextjs build process?
Where and how to set this env.db?
14 replies
CDCloudflare Developers
Created by kalaivanan on 5/7/2024 in #pages-help
How to access to binding variables during nextjs build process?
adapter: D1Adapter(env.db). what is this env.db?
14 replies
CDCloudflare Developers
Created by kalaivanan on 5/7/2024 in #pages-help
How to access to binding variables during nextjs build process?
14 replies
CDCloudflare Developers
Created by kalaivanan on 5/7/2024 in #pages-help
How to access to binding variables during nextjs build process?
adapter: DrizzleAdapter(getDBInstance()). I need DB instance during build process, is there any alternative way of achieving this?
14 replies