You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you so much for raising this issue 🫶 . Really appreciate all the details provided 💖
I'm happy to report there's an open PR that addresses this bug. Really excited to be fixing this, as I think it'll be incredibly helpful for our users moving forward 🤗
Feel free to have a look and make your voice heard wrt the proposed solution. Particularly interested in knowing if the logging we put in place there provides you with sufficient information. Feedback is always much appreciated
Which Cloudflare product(s) does this pertain to?
Wrangler core
What version(s) of the tool(s) are you using?
3.8.0
What version of Node are you using?
18.17.1
What operating system are you using?
Windows 10
Describe the Bug
When publishing a Pages project with Functions, wrangler will seemingly always report a success, even if the Functions upload fails.
Example:
index.html
:functions/_middleware.js
:Result via wrangler (
npx wrangler@3.8.0 pages deploy .
):But the Cloudflare Pages dashboard shows an error:
And the project isn't actually available. There's no way to get logs about what happened here, so folks are left confused.
This happens periodically in Discord, requiring a Pages team member to pull logs for a deployment ID, as well as on the forum such as at https://community.cloudflare.com/t/wrangler-pages-publish-always-fails-tried-both-with-nextjs-and-with-astro-templates/554749?u=cherryjimbo.
The text was updated successfully, but these errors were encountered: