Which project does this relate to?
Start
Describe the bug
I've tried Clerk Webhooks on localhost with success (API Route). When published on Netlify I'm getting this error (not related to webook validation or secretes):
Jul 24, 03:46:36 PM: c61bb29d ERROR Error verifying webhook: Error: ENOENT: no such file or directory, mkdir '/opt/build'
at async Object.mkdir (node:internal/fs/promises:852:10)
at async Object.setItem (file:///var/task/chunks/_/ssr.mjs:1000:4)
at async AsyncFunction.__executeServer (file:///var/task/chunks/_/ssr.mjs:909:80)
at async client (file:///var/task/chunks/_/ssr.mjs:1103:17)
at async Object.serverFn (file:///var/task/chunks/_/ssr.mjs:4585:18)
at async server (file:///var/task/chunks/_/ssr.mjs:1108:20)
at async client (file:///var/task/chunks/_/ssr.mjs:1103:17)
at async file:///var/task/chunks/_/ssr.mjs:4748:22
at async NeonSession.transaction (file:///var/task/node_modules/drizzle-orm/neon-serverless/session.js:183:22)
at async Object.serverFn (file:///var/task/chunks/_/ssr.mjs:4739:2) {
errno: -2,
code: 'ENOENT',
syscall: 'mkdir',
path: '/opt/build'
}
Your Example Website or App
https://no.disclosure.com
Steps to Reproduce the Bug or Issue
Deploy WebHook to Netfly
Expected behavior
Just works
Screenshots or Videos
No response
Platform
"@tanstack/react-router": "^1.129.8",
"vite": "npm:rolldown-vite@^7.0.10",
Additional context
No response
Which project does this relate to?
Start
Describe the bug
I've tried Clerk Webhooks on localhost with success (API Route). When published on Netlify I'm getting this error (not related to webook validation or secretes):
Your Example Website or App
https://no.disclosure.com
Steps to Reproduce the Bug or Issue
Deploy WebHook to Netfly
Expected behavior
Just works
Screenshots or Videos
No response
Platform
"@tanstack/react-router": "^1.129.8",
"vite": "npm:rolldown-vite@^7.0.10",
Additional context
No response