For Workers & Pages, what is the name of the domain?
Invalid
What is the error message?
16:05:04.586 Running custom build: cargo install -q worker-build && worker-build --release 16:05:04.590 /bin/sh: 1: cargo: not found 16:05:04.591 16:05:04.650 ✘ [ERROR] Running custom build cargo install -q worker-build && worker-build --release
failed. There are likely more logs from your build command above.
What is the issue or error you’re encountering
Cannot deploy my application to cloudflare
What steps have you taken to resolve the issue?
16:05:04.586 Running custom build: cargo install -q worker-build && worker-build --release
16:05:04.590 /bin/sh: 1: cargo: not found
16:05:04.591
16:05:04.650 ✘ [ERROR] Running custom build cargo install -q worker-build && worker-build --release
failed. There are likely more logs from your build command above.
What are the steps to reproduce the issue?
Take the rust template and run it → check GitHub - cloudflare/workers-rs: Write Cloudflare Workers in 100% Rust via WebAssembly for the axum template.
All you need is to try and get your template to run as a Cloudflare worker… and you’ll get the above logs because cargo was not found.
How can ‘npx wrangler deploy’ work if its command to start is ‘cargo install -q worker-build && worker-build --release’? I don’t see how it can run successfully.