-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[🐞] from create qwik latest, I can't make cloudflare-pages work since 1.2.14 #5400
Comments
I bumped up Qwik to 1.2.16 in one project and I had the same problem. fun fact, the Qwik docs site is on Cloudflare and it's working 🤔 |
I don't understand the differences between qwik, qwik-city, qwik-labs in that case. |
I deployed one of my "failing with blank page project" with e CloudFlare CLI and it's working fine. 🤔
@tidiview Can you test these steps too pls? |
@gioboa I tried the previous method, but unfortunately got the same result. I reverted to 1.2.14. |
@gioboa I tried a new project from scratch, just adding cloudflare-pages. Then created a github repo. Then created a new application from the cloudflare dashboard as usual. |
@gioboa I finally tried a new project from scratch, just adding cloudflare-pages. Then did your method: build, cd dist, then wrangler login, then |
@gioboa sorry to bother you multiple times but OK, I think I have a clue now. |
@gioboa For the existing repo, I tried both methods [ |
Can you try to deploy another Cloudflare site with the same codebase please? |
I'm afraid I don't understand. |
This PR #5352 generated the problem. I'm going to revert it |
Closed by #5502 |
hey both, just saw this, very bizarre that it would only fail on the cloud builds, I have been unable to reproduce this – the builds work fine for me no matter where Any chance I could get the full build logs from one of the blank page builds? As well as the list of files uploaded, please, these are both available in the deployments section of Cloudflare Pages if you click "View details" on a specific deployment |
I figured out the issue, when removing the polyfill I completely forgot that Cloudflare will not update the runtime APIs on older projects by default, and keeps configurable backwards compatibility. This means that any project created before November 2022 that hasn't been updated to a later compatibility_date will not have the native stream API by default, while new projects do Huge oversight on my part, and I apologise for any headaches it caused! You can check your compatibility_date setting in the "Settings" -> "Functions" page on the Cloudflare Pages project dashboard I think the right way forward is probably to only remove the polyfill if it doesn't exist, that way we use the native API in new projects and projects that want to use the newer features, while keeping backwards compatibility with older ones |
@mpeg
|
Which component is affected?
Qwik Runtime
Describe the bug
I am using Windows, Visual Code, from there create qwik latest, pnpm install, then cloudflare-pages adapter, pnpm build, then start. In local, no problem but when transfer to github repo, the cloudflare building do not work at all.
The site builds on cloudflare, but once it has build, the site appears completely blank since 1.2.15, then 1.2.16 and now, 1.2.17.
I thought that other user would report it and that it would be solved, but it seemed that I am the only one to have that problem therefore may be I have a specific problem, so I decided to put it here.
Reproduction
https://66751608.worktop-qwikcity.pages.dev/
Steps to reproduce
pnpm create latest, pnpm install, then cloudflare-pages adapter, pnpm build, then start.
System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: