Wulflok
CDCloudflare Developers
•Created by Wulflok on 3/31/2024 in #pages-help
.vercelignore file?
(Confirmed, the site built and deployed to cloudflare with that ignore line added...but is there a config option that lets me ignore directories not related to pages? I don't think I'm technically at the 'monorepo' state here but it's in that family, maybe?)
8 replies
CDCloudflare Developers
•Created by Wulflok on 3/31/2024 in #pages-help
.vercelignore file?
I have to do more testing, but that might be the answer...which is acceptable given the current setup for Sanity Studio is not type checking correctly. BUT, long-term that wouldn't work if both need type checking and then the answer (if there's no .vercelignore used) might be "split them into two projects". 😦
8 replies
CDCloudflare Developers
•Created by Wulflok on 3/31/2024 in #pages-help
.vercelignore file?
If deleted, it works. I think I found it: There was a
sanity.conf.ts
file in the root of the project that was not ignored. That has an import to files in the schema directory. When I excluded that in tsconfig.json
things worked and built properly.8 replies
CDCloudflare Developers
•Created by Wulflok on 3/31/2024 in #pages-help
.vercelignore file?
Good idea, but failed. I also tried updating tsconfig.json to include
/tmp/schema
when it failed on first try. That did not change things. I suspect that the various exclude entries are being ignored? Or, maybe I have to find a way to handle this with the next build
step (which I can't seem to find)?8 replies
CDCloudflare Developers
•Created by Wulflok on 6/21/2023 in #pages-help
Report build status on completion?
Noted! And then double-thanks for helping me!
6 replies
CDCloudflare Developers
•Created by Wulflok on 6/21/2023 in #pages-help
Report build status on completion?
Ah! As much as your services are awesome, it is sometimes a struggle to find what I need in the menus/docs. Thanks for pointing out what I need. 🙂
6 replies
CDCloudflare Developers
•Created by Wulflok on 6/21/2023 in #pages-help
Report build status on completion?
We have an enterprise account, so that hopefully won't be the factor here. Are there docs I could use for that?
6 replies
CDCloudflare Developers
•Created by Wulflok on 6/21/2023 in #pages-help
Report build status on completion?
Thanks. Sorry I forgot to mention that we had looked at those. They don't give a ton of info, it's email only, and on failure it doesn't give any information that we could use to automate a retry or escalate to a human. So we're trying to look at a way to "instrument" the build so we can track how many builds are being triggered (are the editors getting click-happy on the 'rebuild' button?), track the reasons for failure (our headless CMS slow? bugs slipping thru?), and automate retries for specific situations (like a slow CMS).
6 replies
CDCloudflare Developers
•Created by Wulflok on 6/14/2023 in #pages-help
Nextjs, next-on-pages, "hanging Promise was canceled"
And that was it.
dynamicParams
and now it built and is working with the original with no errors. As always: HUGE thanks! I think that did it.18 replies
CDCloudflare Developers
•Created by Wulflok on 6/14/2023 in #pages-help
Nextjs, next-on-pages, "hanging Promise was canceled"
So I'm confused, I'm sorry to say. I'm trying to distill my repo down to a really simple branch that can repro the problem. Going all the way to hard-coding doesn't seem to do it. It all seems to be around this dynamic route, but I'm struggling to figure out how to show it repro without also having you get access to a Sanity dataset that it would use.
18 replies
CDCloudflare Developers
•Created by Wulflok on 6/14/2023 in #pages-help
Nextjs, next-on-pages, "hanging Promise was canceled"
that's after the vercel build completes
18 replies