Missing Entrypoint
I'm getting this error when using the GHA for wrangler.
[ERROR] Missing entry-point to Worker script or to assets directory
Running wrangler versions upload locally works in the sense that it at least uploads.
I'm migrating from pages to workers for an Angular app. It's a static site. As I understand it, I only need an Entrypoint/_worker.js file if I had Pages functions.
Hoping someone can confirm my assessment. I'm 90% GHA just isn't finding the wrangler.jsonc at all, but this error is oddly specific and implies it finds the file but expects the "main" property.2 Replies
if your wrangler json has an assets section then yeah it may not be finding the file
it's saying there's either no main (meaning worker code) or no assets section in config
Thanks. I'll troubleshoot my actions