Skip to content
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

Problems with Nitro x Cloudflare Pages #9107

Open
1 of 2 tasks
preschian opened this issue Jan 23, 2024 · 0 comments
Open
1 of 2 tasks

Problems with Nitro x Cloudflare Pages #9107

preschian opened this issue Jan 23, 2024 · 0 comments
Labels
A-maintenance dependencies Pull requests that update a dependency file enhancement New feature or request p2 core functionality, or is affecting 60% of app

Comments

@preschian
Copy link
Member

preschian commented Jan 23, 2024

Currently, we have two problems deploying Nitro on Cloudflare Pages:

  • JavaScript heap out of memory. In this PR, I tried to enable SSR on /privacy-policy. But, the deployment failed on Cloudflare Pages. Currently, only the deployment on Vercel works fine without the hacky method. fixed in chore: bump @nuxtjs/sitemap version #9140

  • Cannot resolve "node-fetch-native/native/proxy". Some of the sub-dependencies failed on Cloudflare Pages when Renovate tried to bump it.

How to reproduce:

rm -rf node_modules pnpm-lock.yaml && pnpm install && NITRO_PRESET=cloudflare_pages pnpm nuxi build

How to fix: we probably need to check unused or deprecated packages in our app and update/remove them. Or, find an alternative/hacky method to bypass that on Cloudflare Pages.

@preschian preschian added enhancement New feature or request dependencies Pull requests that update a dependency file labels Jan 23, 2024
@yangwao yangwao added A-maintenance p2 core functionality, or is affecting 60% of app labels Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-maintenance dependencies Pull requests that update a dependency file enhancement New feature or request p2 core functionality, or is affecting 60% of app
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants