LeftHandRyan
CDCloudflare Developers
•Created by LeftHandRyan on 6/26/2024 in #pages-help
Debugging "Internal Error" in my Pages app
I suppose it is worth mentioning that this is a Remix application, and that running the remix (vite) dev server works normally. It's only the wrangler dev command that is failing, along with my deployed application (the build is successful and so is the deployment)
3 replies
CDCloudflare Developers
•Created by LeftHandRyan on 3/16/2024 in #pages-help
Error building worker: No loader is configured for “.svg” files
@Erisa | Support Engineer you were so helpful with my other issue, thank you. Do you have any ideas about this "no loader for .svg files" issue? I think it's the internal ES build complaining, and there's no way for pages to add loaders. With workers you can add something to the wrangler.toml, but that doesn't do anything for pages
24 replies
CDCloudflare Developers
•Created by LeftHandRyan on 3/18/2024 in #pages-help
Deployment failed, no other information
yeah that's probably a good idea. kind of a pain 🙂 i wonder what the total build + deps size limit is for pages
166 replies
CDCloudflare Developers
•Created by LeftHandRyan on 3/18/2024 in #pages-help
Deployment failed, no other information
thank you again dude. i was "this" close to giving up on cloudflare and heading back to nodejs and fly.io
166 replies
CDCloudflare Developers
•Created by LeftHandRyan on 3/18/2024 in #pages-help
Deployment failed, no other information
yes that makes sense, deploying to a node env you'd have to install the dependencies of course. i guess didn't think about how pages handles that behind the scenes. and i'm not sure how this impacts initial load time. it must load the whole tree into memory...?
166 replies
CDCloudflare Developers
•Created by LeftHandRyan on 3/18/2024 in #pages-help
Deployment failed, no other information
Seems like it must be installing the dependencies in the worker somehow
166 replies
CDCloudflare Developers
•Created by LeftHandRyan on 3/18/2024 in #pages-help
Deployment failed, no other information
@jensen curious how you discovered that. I checked my build output dir and the whole thing was less than 1MB. Maybe i'm missing something about the build process.
166 replies
CDCloudflare Developers
•Created by LeftHandRyan on 3/18/2024 in #pages-help
Deployment failed, no other information
it worked! thank you so much
166 replies
CDCloudflare Developers
•Created by LeftHandRyan on 3/18/2024 in #pages-help
Deployment failed, no other information
I will try that 😉
166 replies
CDCloudflare Developers
•Created by LeftHandRyan on 3/18/2024 in #pages-help
Deployment failed, no other information
oh for real? You're amazing thank you
166 replies
CDCloudflare Developers
•Created by LeftHandRyan on 3/18/2024 in #pages-help
Deployment failed, no other information
all set
166 replies
CDCloudflare Developers
•Created by LeftHandRyan on 3/18/2024 in #pages-help
Deployment failed, no other information
i'm going to roll that back a few commits to before I started stripping out stuff
166 replies
CDCloudflare Developers
•Created by LeftHandRyan on 3/18/2024 in #pages-help
Deployment failed, no other information
oh whoops silly mistake i completely got that url wrong 😉 https://github.com/rgildea/mixdown-cloudflare
166 replies
CDCloudflare Developers
•Created by LeftHandRyan on 3/18/2024 in #pages-help
Deployment failed, no other information
oops, ok will do
166 replies
CDCloudflare Developers
•Created by LeftHandRyan on 3/18/2024 in #pages-help
Deployment failed, no other information
will try making a simpler demo too
166 replies
CDCloudflare Developers
•Created by LeftHandRyan on 3/18/2024 in #pages-help
Deployment failed, no other information
Yes, I can do that. I'm also happy to share the repo with you now https://www.github.com/ryangildea/mixdown-player
166 replies
CDCloudflare Developers
•Created by LeftHandRyan on 3/18/2024 in #pages-help
Deployment failed, no other information
I have tried removing my connection to db from my pages function but still getting the error. Is there any way to investigate this further? I'm very disappointed w/ this situation. My app is not large or complicated, in fact it does nearly nothing and is very small.
166 replies
CDCloudflare Developers
•Created by LeftHandRyan on 3/18/2024 in #pages-help
Deployment failed, no other information
Hey @Erisa | Support Engineer @Chaika thanks for your help earlier, I really appreciate it. I've timed my startup code when running locally using wrangler pages dev, and it takes single-digit milliseconds, 1-5ms. I'm connecting to the remote db, not a local one. So I don't think that's the cause. any other suggestions?
166 replies
CDCloudflare Developers
•Created by LeftHandRyan on 3/18/2024 in #pages-help
Deployment failed, no other information
yes
166 replies
CDCloudflare Developers
•Created by LeftHandRyan on 3/18/2024 in #pages-help
Deployment failed, no other information
so i was using prisma edge client -> prisma accelerate -> supabase
166 replies