-
Notifications
You must be signed in to change notification settings - Fork 735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 BUG: c3 scheduled worker template using JS throws The entry-point file at "src/index.ts" was not found
#3913
Comments
The entry-point file at "src/index.ts" was not found
The entry-point file at "src/index.ts" was not found
Same bug with wrangler 3.10.1 on Mac Os Sonoma
|
For a temporary fix, just say no on step 3 of 3 "Do you want to deploy your application?". But running So, in your project directory, replace "index.ts" by "index.js" in main = "src/index.js" Now it works! |
This has been fixed in #3916 but the new version hasn't been released yet. |
Thank you! Awesome work by the way 💪 |
Which Cloudflare product(s) does this pertain to?
Wrangler core
What version(s) of the tool(s) are you using?
3.7.0
What version of Node are you using?
v18.9.1
What operating system are you using?
Mac
Describe the Bug
When choose not using TS but JS to create a cron worker, the wrangler.toml entry point is still
index.ts
, which throw the following error.Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
The text was updated successfully, but these errors were encountered: