ldp
ldp
Explore posts from servers
PPrisma
Created by ldp on 5/1/2024 in #help-and-questions
Pulse import not recognized / types not working in Next.js project
No description
3 replies
CDCloudflare Developers
Created by ldp on 2/24/2024 in #workers-help
Cloudflare Workers for Platforms logging - not seeing errors in dependencies
I'm not sure if I'm doing something super dumb, but I'm not able to really see error logs very well with workers. this is the command I'm currently using to view logs: npx wrangler tail --format=pretty whenever there is an error, it doesn't actually appear in the logs, I have to go in and sherlock holmes through my node_modules/, adding explicit console.log statements to my dependencies to try to figure out what is actually causing the error. is there some sort of flag I can pass that will dump all the errors to the log trail? or am I just doing something stupid?
1 replies
CDCloudflare Developers
Created by ldp on 2/21/2024 in #workers-help
workers deployment down?
i noticed on my project that the actual code itself wasn't updating when i re-deployed, even though wrangler prints a success message.
i checked out the console and it has the deployments. i created a new project and worker and deployed that worker. once again the console has the deployments ( i did it a few times), but on this project i get a /404 (bc it was new so theres nothing to fall back on) can anyone confirm/deny that they're still able to upload changes to workers right now?
5 replies
CDCloudflare Developers
Created by ldp on 10/15/2023 in #workers-help
Wrangler command to only init a toml file and create a proj on cloudflare
Hi! I'm making a template for some users of an open source library, which includes the cloudflare worker code. I want to give them an example command they can run that will initialize a cloudflare project for them, and generate a wrangler.toml file, and that's it. I don;t want to create from a cloudflare template, or generate any js files. They'll have that already from my repo. Does a wrangler command for this exist? If not, I can have them create the toml file manually, but I'm not aware of how you create a corresponding cloudflare project without doing it via the wrangler templating commands, ie dry-bread-4c37
2 replies