Wouter
CDCloudflare Developers
ā¢Created by Wouter on 9/12/2024 in #pages-help
Vite CI builds timing out
Hey @Jacob | CI , looked briefly into it , but I'm using React + Vite instead of Next.js š¦ All pages mention next.js / new projects, not existing projects https://developers.cloudflare.com/workers/static-assets/ / https://developers.cloudflare.com/workers/frameworks/framework-guides/nextjs/
I can't allocate time to dive into this, but i'm more than happy to test a new Pages build
37 replies
CDCloudflare Developers
ā¢Created by Wouter on 9/12/2024 in #pages-help
Vite CI builds timing out
I'll try to setup something Sunday
37 replies
CDCloudflare Developers
ā¢Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
Should decrease build times, so it's a win-win š
27 replies
CDCloudflare Developers
ā¢Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
Ohh that's crappy indeed š¦ Luckily I only have NestJS, the rest is in Rust.
Don't think we're suppose to tag people but maybe we can use a once-a-year-tag-jail-card @Jacob | CI š„ŗ
The option to support pnpm install --filter
27 replies
CDCloudflare Developers
ā¢Created by Wouter on 9/12/2024 in #pages-help
Vite CI builds timing out
@Jacob | CI Wow sorry, ran into this thread on accident. I'm not sure i'm receiving notifications or no clue how Discord works š¤£
I only deploy through Pages though.
37 replies
CDCloudflare Developers
ā¢Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
Haha, now you triggered me š Give us the option \o/
27 replies
CDCloudflare Developers
ā¢Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
Ah yeah, you are right.
I only looked at 15:00:29.959 dependencies: which included my services, but above in the log its getting all the node modules
27 replies
CDCloudflare Developers
ā¢Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
Ah but if the configuration is correct, it should never install dependencies from other services afaik.
27 replies
CDCloudflare Developers
ā¢Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
If you use pnpm, you can setup workspaces.
And then configure watch paths in CF CI with custom run commands
e.g. pnpm --filter @service run build.
If you specify the root directory to your @service it should only install related packages
27 replies
CDCloudflare Developers
ā¢Created by Wouter on 10/3/2024 in #pages-help
Your R2 bucket does not exist (workers.api.error.bucket_not_found)
Thanks both!
24 replies
CDCloudflare Developers
ā¢Created by Wouter on 10/3/2024 in #pages-help
Your R2 bucket does not exist (workers.api.error.bucket_not_found)
24 replies
CDCloudflare Developers
ā¢Created by Wouter on 10/3/2024 in #pages-help
Your R2 bucket does not exist (workers.api.error.bucket_not_found)
You guys are awesome š I'm not in a rush btw, so no problem if it's merged later
24 replies
CDCloudflare Developers
ā¢Created by Wouter on 10/3/2024 in #pages-help
Your R2 bucket does not exist (workers.api.error.bucket_not_found)
Followup 2: I've removed the wrangler.toml from the repo to make sure it wasn't conflicting or anything.
Working build with non-eu buckets: febf95b5-e620-4b38-af58-6c2e529925fa
Broken build with eu-buckets: ddbab73c-f46f-4931-9331-2c3a001e7c25
24 replies
CDCloudflare Developers
ā¢Created by Wouter on 10/3/2024 in #pages-help
Your R2 bucket does not exist (workers.api.error.bucket_not_found)
Followup: Can confirm it's jurisdictional related.
Created two new non-eu buckets and added them through the interface for my preview env and it deployed without problems.
24 replies
CDCloudflare Developers
ā¢Created by Wouter on 10/3/2024 in #pages-help
Your R2 bucket does not exist (workers.api.error.bucket_not_found)
Thanks Will!
I'm not using the wrangler.toml though. It's still there for Miniflare local but I should remove it from the repository haha.
14:55:33.771 A wrangler.toml file was found but it does not appear to be valid. Did you mean to use wrangler.toml to configure Pages? If so, then make sure the file is valid and contains the pages_build_output_dir
property. Skipping file and continuing.
So it's skipping the wrangler.toml, this is good. But besides the UI bug there might be another bug maybe then?24 replies
CDCloudflare Developers
ā¢Created by Wouter on 10/3/2024 in #pages-help
Your R2 bucket does not exist (workers.api.error.bucket_not_found)
Would it be ok to dm you a video?
24 replies
CDCloudflare Developers
ā¢Created by Wouter on 10/3/2024 in #pages-help
Your R2 bucket does not exist (workers.api.error.bucket_not_found)
Hey Will, thanks for taking the time to reproduce. It's Page deployment, i tried old builds / new commits. But not sure how to make it fully new?
24 replies
CDCloudflare Developers
ā¢Created by Hello, Iām Allie! on 10/2/2024 in #miniflare
You can point a Worker at the local
Ah I meant it makes sense it's not there/ prio since it's working perfect in a worker context.
š¤ Looking forward to it! Gladly migrate to it then. Will still use workers for the other upload types / serving of it.
If you need testers/help let me know
6 replies
CDCloudflare Developers
ā¢Created by Hello, Iām Allie! on 10/2/2024 in #miniflare
You can point a Worker at the local
Makes sense since you want users in the full (worker) CF ecosystem š
I'll do it through a NestJS endpoint > Remote (dev) bucket for now then.
Till we meet again! š«”
6 replies
CDCloudflare Developers
ā¢Created by Hello, Iām Allie! on 10/2/2024 in #miniflare
You can point a Worker at the local
Ok, I do have a followup š
Is this something that is in the works that you know of?
https://developers.cloudflare.com/r2/api/s3/api/
Ideally Miniflare exposes this API automatically, there are no shortcuts to expose this through my own worker right?
I'm looking at https://github.com/cloudflare/workerd/discussions but not really sure what to look for.
6 replies