wrangler-legacy
wrangler-legacy copied to clipboard
Wranger generate errors with segmentation fault when installing cargo-generate
🐛 Bug report
Describe the bug
When running wrangler generate my-app https://github.com/cloudflare/worker-typescript-template I encounter a segmentation fault:
$ wrangler generate my-app https://github.com/cloudflare/worker-typescript-template
⬇️ Installing cargo-generate v0.5.0...
Segmentation fault (core dumped)
Reproduce the bug
A list of steps to reproduce the bug.
- Create a new empty folder
- Inside folder run VS Code:
code . - In VS Code, configure a new DevContainer. Select a
Node-16container, withRustselected as an extra feature. - Once project is reopened in the container, open a new terminal and install wrangler:
cargo install wrangler - Attempt to generate a typescript project:
wrangler generate my-app https://github.com/cloudflare/worker-typescript-template
Expected behavior
Project template is generated, no segmentation faults
Environment and versions
Fill out the following information about your environment.
- operating system: Debian Buster, running a Docker container with Debian Bullseye
- output of
wrangler -V:wrangler 1.19.5 - output of
node -v:v16.13.1 - content of
wrangler.toml: No such file exists - I am trying to generate it