workers-rs icon indicating copy to clipboard operation
workers-rs copied to clipboard

[BUG] npm init doesn't create a Rust project

Open buchgr opened this issue 2 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

What version of workers-rs are you using?

0.0.18

What version of wrangler are you using?

3.5.0

Describe the bug

I tried to create a new workers-rs project per the instructions in the README.md but the command generates me a JavaScript project instead.

Steps To Reproduce

$ npm init cloudflare project_name worker-rust
$ cd project_name
$ ls
node_modules
package-lock.json
package.json	
src
wrangler.toml

buchgr avatar Aug 10 '23 13:08 buchgr