This repository has been archived by the owner on Aug 3, 2023. It is now read-only.
Ensure that rustc and other dependencies are installed before building a rust project #487
Labels
good first issue
Good for newcomers
Milestone
🐛 Bug Report
wrangler build
produces an unhelpful error message when rustc isn't in the path.Environment
rustc -V
:node -v
:wrangler -V
:Steps to reproduce
I installed wrangler using npm, and created a rust project, then called
wrangler build
.What did you expect to see?
Either a successful build, or a helpful error message prompting me to use rustup to install rustc and the dependencies.
What did you see instead?
When I called
wrangler build
I got the error:The underlying issue is that wasm-pack doesn't return a helpful error either, just an exit code.
The text was updated successfully, but these errors were encountered: