Alex from Fuxam
Alex from Fuxam
Explore posts from servers
CDCloudflare Developers
Created by Alex from Fuxam on 12/15/2023 in #workers-help
R2 Worker Issue
Hi! I am having an issue where I request an image from my r2 bucket inside my NextJS app and it shows me a 400 error without any response object whatsoever. If i request the exact same image URL inside the "Manage Application" of the R2 worker dashboard, I get a 200 response and my image is returned. If requested from my NextJS application, wrangler tail prints nothing and neither do the worker dashboard logs. Any help would be greatly appreciated!
1 replies
CDCloudflare Developers
Created by Alex from Fuxam on 2/15/2023 in #pages-help
Npm Install Es Build errors With T3 application
I am getting this error when trying to deploy my t3 stack NextJS application to Cloudflare pages. It seems to be some node module issue. Does anybody know how to fix this? 🙂
10:54:13.745 npm ERR! notsup Unsupported platform for [email protected]: wanted {"os":"android","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
10:54:13.745 npm ERR! notsup Valid OS: android
10:54:13.745 npm ERR! notsup Valid Arch: arm64
10:54:13.745 npm ERR! notsup Actual OS: linux
10:54:13.746 npm ERR! notsup Actual Arch: x64
10:54:13.755
10:54:13.755 npm ERR! A complete log of this run can be found in:
10:54:13.755 npm ERR! /opt/buildhome/.npm/_logs/2023-02-15T09_54_13_749Z-debug.log
10:54:13.775 Error during NPM install
10:54:13.745 npm ERR! notsup Unsupported platform for [email protected]: wanted {"os":"android","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
10:54:13.745 npm ERR! notsup Valid OS: android
10:54:13.745 npm ERR! notsup Valid Arch: arm64
10:54:13.745 npm ERR! notsup Actual OS: linux
10:54:13.746 npm ERR! notsup Actual Arch: x64
10:54:13.755
10:54:13.755 npm ERR! A complete log of this run can be found in:
10:54:13.755 npm ERR! /opt/buildhome/.npm/_logs/2023-02-15T09_54_13_749Z-debug.log
10:54:13.775 Error during NPM install
Also I am trying to integrate doppler (a secret manager) into cloudflare using this guide https://docs.doppler.com/docs/cloudflare-pages but I can't find my account id? I tried using this guide https://docs.doppler.com/docs/cloudflare-pages to find it but the API section doesn't seem to be the same anymore.
1 replies
CDCloudflare Developers
Created by Alex from Fuxam on 2/9/2023 in #workers-help
Having trouble getting files from my NextJS Application
6 replies