cloudflare / cloudflare/workers-rs

[BUG] npm init cloudflare fails

Open
#253 4 comments 5 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
3.7k
Forks
429
Avg merge
20h 28m
Merged PRs (30d)
7

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### What version of `workers-rs` are you using?

main

### Describe the bug

when I do:

```bash
npm init cloudflare project_name worker-rust
```
I get an error:

```
Need to install the following packages:
create-cloudflare@1.0.0
Ok to proceed? (y) y

Error: EXDEV: cross-device link not permitted, rename '/tmp/2122340072f1d-91d055235fe5d/worker-rust' -> '/home/xxx/project_name'

npm ERR! code 1
```

### Steps To Reproduce

linux 6.0.11-arch1-1
npm 9.2.0
run npm init cloudflare project_name worker-rust

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.