Wasm-pack dyld Library not loaded


I'm testing yew and when I compile the code example, I have the following error message

dyld: Library not loaded: @rpath/libLLVM.dylib
Referenced from: /Users/jeans/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/bin/rust-lld
Reason: image not found

rustc --version
rustc 1.48.0-nightly (bbc677480 2020-09-18)

Have you ever had this error message?


This issue can be fix by installing nightlycomponent

rustup toolchain install nightly