robigan
robigan
CDCloudflare Developers
Created by robigan on 10/19/2024 in #pages-help
"Failed to publish your Function. Got error: Unknown internal error occurred." on NextJS 14.2.15
I've been trying to deploy an application to cloudflare workers that was built with NextJS 14.2.15 using @cloudflare/next-on-pages 1.13.5. Unfortunately I keep getting the error Error: Failed to publish your Function. Got error: Unknown internal error occurred. I have tried both deploying by having the cloud build the project and deploy built assets from my machine to the cloud. Next-on-pages and wrangler work flawlessly on my side (with the exception of one strange error message which I've been able to avoid by cleaning the build directory each time I want to run). My account ID is: efac12d49017929d19bc2da47c87fd4d The deployment ID is: dfff50f3-cd1e-4748-b499-6657072bc639 I'd provide my pages.dev ID but I'd prefer for the project name not be publicly available for privacy.
2 replies