JFSIII
CDCloudflare Developers
•Created by JFSIII on 9/20/2024 in #general-help
Dashboard for Pages project settings won't load / throw JS error
@Cina Saffary It's working great, thanks!
16 replies
CDCloudflare Developers
•Created by JFSIII on 9/20/2024 in #general-help
Dashboard for Pages project settings won't load / throw JS error
@Walshy | Deploying Any idea of the rough ETA for a fix? Is it hours? days? weeks? I've got no real expectations, I'm just trying to get an idea.
In the meantime, is there any workaround? I'm developing something with these (and tweaking how they're built & work together) and it's definitely a challenge not to have the UI
16 replies
CDCloudflare Developers
•Created by JFSIII on 9/20/2024 in #general-help
Dashboard for Pages project settings won't load / throw JS error
I'm using wrangler.toml for my Pages project, here's the relevant section from my wrangler.toml
16 replies
CDCloudflare Developers
•Created by JFSIII on 9/20/2024 in #general-help
Dashboard for Pages project settings won't load / throw JS error
I just made a https://developers.cloudflare.com/api/operations/pages-project-get-project call to a Pages project that's not failing and one that is and compared their output
diff success.json error.json doesn't show much promising except this under both result.deployment_configs.preview & result.deployment_configs.production and in a "services" section
That
"environment"": ""
seems 🤔16 replies
CDCloudflare Developers
•Created by JFSIII on 9/20/2024 in #general-help
Dashboard for Pages project settings won't load / throw JS error
For completeness, the API calls I made were to https://developers.cloudflare.com/api/operations/pages-project-get-project and https://developers.cloudflare.com/api/operations/pages-project-update-project
I was so worried about messing thing up, I first called the GET, then removed the unnecessary bits then called the PATCH with the one updated build_config.build_command line
16 replies
CDCloudflare Developers
•Created by JFSIII on 9/20/2024 in #general-help
Dashboard for Pages project settings won't load / throw JS error
yeah, and I think I had to resort to the API b/c I couldn't use the UI
16 replies
CDCloudflare Developers
•Created by JFSIII on 9/20/2024 in #general-help
Dashboard for Pages project settings won't load / throw JS error
oh, this might be a self-own. I thought it was on all my Pages projects, but it's only on some. And I did have to use an API call yesterday to set a build command so maybe I messed something up. I noticed a new settings UI just a few moments before these errors started. I'll see if I can find something relevant in the working Pages projects to use to update the broken ones
16 replies
CDCloudflare Developers
•Created by JFSIII on 9/20/2024 in #general-help
Dashboard for Pages project settings won't load / throw JS error
The message is
TypeError: Expected "environmentName" to match "[^\/]+?", but got ""
16 replies
CDCloudflare Developers
•Created by JFSIII on 9/20/2024 in #general-help
Dashboard for Pages project settings won't load / throw JS error
OK, thanks, I just sent another one with JFSIII error included
16 replies
CDCloudflare Developers
•Created by bhavish on 6/19/2024 in #general-help
how to deploy an existing remix : vite project on cloudflare pages?
10 replies
CDCloudflare Developers
•Created by bhavish on 6/19/2024 in #general-help
how to deploy an existing remix : vite project on cloudflare pages?
Here's how to convert a Workers Site to a Pages project https://developers.cloudflare.com/pages/how-to/refactor-a-worker-to-pages-functions/
10 replies
CDCloudflare Developers
•Created by ItsWendell on 4/25/2024 in #workers-discussions
Interface return type in RPC functions for Service / WorkerEntrypoint
but UGH!
4 replies
CDCloudflare Developers
•Created by ItsWendell on 4/25/2024 in #workers-discussions
Interface return type in RPC functions for Service / WorkerEntrypoint
I also have a situation where the return type shows
undefined
for a similar reason. If I use an interface
to define the shape, or an unknown
for a RHS then it'll break. If I use type
s and any
then works as expected4 replies
CDCloudflare Developers
•Created by ItsWendell on 4/25/2024 in #workers-discussions
Interface return type in RPC functions for Service / WorkerEntrypoint
Thanks for this! I am experiencing the same thing and I never would have thought to try type vs interface.
4 replies
CDCloudflare Developers
•Created by JFSIII on 5/6/2024 in #pages-help
Github integration for Pages apps in monorepo
I also tried adding the SKIP_DEPENDENCY_INSTALL variable but I can't add from the dashboard b/c using wrangler.toml. I added it to my wrangler.toml but I don't see it listed in the variables and the install behavior didn't change
3 replies
CDCloudflare Developers
•Created by JFSIII on 5/6/2024 in #pages-help
Github integration for Pages apps in monorepo
I'm still struggling with this. I tried converting the "build" script from "remix vite:dev" to "npx remix vite dev" but that also failed (with "unable to determine executable to run", IIRC)
3 replies