NuxtN
Nuxt2y ago
20 replies
Zampa

Can't deploy to Cloudflare with 3.12.2

I am still seeing an "unknown internal error" when deploying to Cloudflare Pages using Nuxt 3.12.1 or 3.12.2. Nuxt 3.11.2 deploys fine.

The end of my Cloudflare deployment log looks like this:
17:01:36.251    ✨ Compiled Worker successfully
17:01:37.042    Found _routes.json in output directory. Uploading.
17:01:37.060    Validating asset output directory
17:01:39.998    Deploying your site to Cloudflare's global network...
17:01:50.855    Parsed 15 valid header rules.
17:01:52.919    Uploading... (450/1087)
17:01:54.597    Uploading... (662/1087)
17:01:54.699    Uploading... (874/1087)
17:01:54.813    Uploading... (1087/1087)
17:01:54.814    ✨ Success! Uploaded 637 files (450 already uploaded) (2.82 sec)
17:01:54.814    
17:01:55.445    ✨ Upload complete!
17:01:56.800    Uploading to dependency cache
17:01:56.808    Uploading to build output cache
17:01:57.139    Success: Build output uploaded to build cache.
17:02:00.109    Success: Dependencies uploaded to build cache.
17:02:04.266    Success: Assets published!
17:02:06.940    Error: Failed to publish your Function. Got error: Unknown internal error occurred.
17:02:06.940    Note: Not all logs could be displayed, click "Download log" to view more

There's nothing in the full log that indicates what the internal error is.

Nuxt client built successfully:
17:00:43.082    [info] ✓ built in 17.04s
17:00:43.082    [success] Client built in 17051ms


Nuxt server built successfully:
17:00:55.219    [info] ✓ built in 12.02s
17:00:55.220    [success] Server built in 12047ms
17:00:57.057    [success] [nitro] Generated public dist

I'm not sure what changed in 3.12.x that is causing CF Pages to fail?
Was this page helpful?