workers-rs
workers-rs copied to clipboard
[BUG] Getting Started references old Wrangler, doesn't work as expected
Is there an existing issue for this?
- [X] I have searched the existing issues
What version of workers-rs are you using?
Newest
What version of wrangler are you using?
3.5.1
Describe the bug
Our "Getting Started" Information references an old version of Wrangler, and doesn't appear to work with either 2.x or the latest version. When I follow the steps in our guide, I end up with a default Javascript project being created. I don't get the expected src/lib.rs starting point.
Steps To Reproduce
- Run steps from Getting Started guide:
npm init cloudflare project_name worker-rust
cd project_name
- Follow prompt from wrangler / create-cloudflare
- Look inside the src/ folder that is created'
- Observe that you see
worker.jsand no rust-specific template
Looks like this the same issue as https://github.com/cloudflare/workers-rs/issues/370
I'm having the same problem