#Error downloading crate when running Tauri initially

2 messages · Page 1 of 1 (latest)

undone patrol
#

Hi,

So I'm working on a Company computer and trying to initialise my Tauri project there. I have a base project which runs fine on my Mac however on this windows computer it has a problem downloading a single crate.

This is the error message I get following the npm run tauri dev:

warning: spurious network error (3 tries remaining): [18] Transferred a partial file (transfer closed with 63277 bytes remaining to read)
warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 3 was closed cleanly, but before getting  all response header fields, treated as error)
ℹ Vite client warmed up in 925ms                                                                                                                                                                                      15:55:15
✔ Nitro built in 819 ms                                                                                                                                                                                         nitro 15:55:16
warning: spurious network error (1 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 5 was closed cleanly, but before getting  all response header fields, treated as error)
error: failed to download from `https://crates.io/api/v1/crates/cfb/0.7.3/download`

Caused by:
  [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 7 was closed cleanly, but before getting  all response header fields, treated as error)

Looked into it online for a couple hours now with no luck. I have setup my config.toml in .cargo/config.toml to as follows

[net]
git-fetch-with-cli = true
[http]
debug = true
check-revoke = false

with still no luck

cyan jewel