Hi, I get this error: > wrangler 3.58.0 > ------------------- > > X [ERROR] Missing entry-point: T

Hi, I get this error:

wrangler 3.58.0
-------------------

X [ERROR] Missing entry-point: The entry-point should be specified via the command line (e.g. wrangler deploy path/to/script) or the main config field.

Problem is, I do have the field:
main = "src/index.js"

But even manually saying:
wrangler deploy "src/index.js"
doesn't work, keeps saying I am missing my entry-point.

Any idea what I am doing wrong?
Was this page helpful?