Default example that generates when initializing cloudflare worker project not working.

I am trying to run this cloudflare worker code that generated when the project was initialized but it gives me an error. Code: https://hastebin.com/share/meyiraluce.typescript Error: https://hastebin.com/share/atedazewov.typescript https://hastebin.com/share/anemunukoq.javascript
Hastebin
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
Hastebin
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
Hastebin
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
4 Replies
Hello, I’m Allie!
The generated Worker only handles cron events, which means that navigating to it shouldn't do anything.
potato
potato10mo ago
ooh I get it, thanks. It was my misunderstanding. i should use the /scheduled endpoint right? with scheduled flag
potato
potato10mo ago
Hastebin
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
potato
potato10mo ago
Now i got a longer error 😭 oh what its working now welp thanks 👍
Want results from more Discord servers?
Add your server
More Posts
Still getting Exceeded CPU Limits error on paid unbound workers planI'm hosting my webapp on CF pages using workers functions. I understand that the hashing when logginChange the main domain in cpanelHello everyone! I need assistance with an issue related to domain configuration in cPanel, and I hoA Workers subscription is required to enable Queues.Hey devs:) I'm trying to enable the Queues beta from the web dashboard but I encounter the followinI have bought a domain on CloudFlare and created an R2 bucket, but I am lost in config...Hello everyone, I hope you are great, Please I need some help, I am completely lost... I have boughDurable Object namespace binding cannot communicate with other nodesHeya, I'm getting Durable Object namespace binding cannot communicate with other nodes. with a durabHeya I m getting `Durable ObjectHeya, I'm getting `Durable Object namespace binding cannot communicate with other nodes.` with a durEnd to End Brotli SupportThis blog post (https://blog.cloudflare.com/this-is-brotli-from-origin/) from June 23rd says "End to"Leave cloudflared running to download the token automatically"I use cloudflare SSH tunnels to access some of my remote servers. My SSH config and everything is cdoes website go down?so does the pages website will go down if the 100k request limit exceedes like i dont see any point How to block access to certain url if IP address not in list?Only certain IP addresses should be allowed to visit URLs that start with `mysubdomain.mydomain.com/