Codename_404
Codename_404
CDCloudflare Developers
Created by Codename_404 on 9/10/2024 in #general-help
Production app Cloudflare image CORS issue using fetch
Hi, I am facing CORS issue in production with cloudflare images. It was working before, but suddenly cloudflare is blocking requests with CORS issue. How to configure cors in cloudflare images? I am using fetch() to fetch images beforehand, as my application has a slider kind of system where I need to manually control the image display.
1 replies
CDCloudflare Developers
Created by Codename_404 on 7/7/2024 in #workers-help
Prisma webAssembly error
Hi, I was trying the prisma orm, however I am facing the following issue when I deploy my next.js site to cloudflare pages. Any idea how can i fix this? ▲ ./node_modules/.prisma/client/query_engine_bg.wasm 07:46:33.116 ▲ Module parse failed: Unexpected character '' (1:0) 07:46:33.116 ▲ The module seem to be a WebAssembly module, but module is not flagged as WebAssembly module for webpack. 07:46:33.116 ▲ BREAKING CHANGE: Since webpack 5 WebAssembly is not enabled by default and flagged as experimental feature. 07:46:33.117 ▲ You need to enable one of the WebAssembly experiments via 'experiments.asyncWebAssembly: true' (based on async modules) or 'experiments.syncWebAssembly: true' (like webpack 4, deprecated). 07:46:33.117 ▲ For files that transpile to WebAssembly, make sure to set the module type in the 'module.rules' section of the config (e. g. 'type: "webassembly/async"'). 07:46:33.117 ▲ (Source code omitted for this binary file) 07:46:33.117 ▲
07:46:33.117 ▲ Import trace for requested module: 07:46:33.117 ▲ ./node_modules/.prisma/client/query_engine_bg.wasm 07:46:33.117 ▲ ./node_modules/.prisma/client/wasm.js 07:46:33.117 ▲ ./node_modules/.prisma/client/default.js 07:46:33.117 ▲ ./node_modules/@prisma/client/default.js
1 replies
CDCloudflare Developers
Created by Codename_404 on 5/1/2024 in #pages-help
Build fails, Javascript heap out of memory
I am having the following output everytime I deploy the project via git action. Project builds successfully on my device using the following command: npx @cloudflare/next-on-pages@1 I need to update the site. Is there anyone who can assist me with this?
2 replies
CDCloudflare Developers
Created by Codename_404 on 4/30/2024 in #pages-help
next js project does not build on cloudflare
No description
1 replies
CDCloudflare Developers
Created by Codename_404 on 4/28/2024 in #pages-help
Next js project builds for hours but does not complete
No description
1 replies
CDCloudflare Developers
Created by Codename_404 on 10/14/2023 in #general-help
My client was trying to grant me access but he always gets error 1001
No description
5 replies
CDCloudflare Developers
Created by Codename_404 on 8/25/2023 in #pages-help
Segmentation fault while adding dynamic routes in next js
deployment ID: 3a2e0d9f-f159-49c3-a519-8e4d582e08e8 account ID: d5b5751efdc386eae183fed7730f526f Hi, I am trying to deploy my next.js app on pages. But it shows Segmentation fault when trying to deploy with multiple paths under a dynamic route. This error goes away if I keep maximum of 1 path under dynamic route. The project build perfectly on my local machine.
9 replies
CDCloudflare Developers
Created by Codename_404 on 8/6/2023 in #workers-help
Uploading multipart Zip is breaking the zipped file
I am trying to upload zipped file using worker with r2 api for multipart upload. It breaks the file and it doesn't open anymore. Edit: zipped file is broken if I upload directly as well via worker to r2 Tried with S3 apis, and it works. But not with r2 via worker
1 replies