Comments (2)
The following appears 33 times in the attached log:
= note: the `wasm32-unknown-unknown` target may not be installed
= help: consider downloading the target with `rustup target add wasm32-unknown-unknown`
Have you added the wasm32-unknown-unknown
target?
from start.
Thanks for pointing that out, I've never been so embarrassed for not carefully reading the logs 🙈 though according to rustup I already have it:
~/.cargo/bin/rustup target add wasm32-unknown-unknown
info: component 'rust-std' for target 'wasm32-unknown-unknown' is up to date
I use stable, but the link you've mentioned states "By default, cargo-leptos uses nightly Rust, ..."., so I switched to nightly:
~/.cargo/bin/rustup default nightly
~/.cargo/bin/rustup update
And it's building fine, thank you very much! I'll close the issue since it seems (if I'm not mistaken) nightly is a requirement.
from start.
Related Issues (13)
- Unclear what to do after creating template project - improve readme starter template HOT 10
- Note about `Cargo.lock` is wrong
- Can't watch or serve new project after running `cargo update` HOT 2
- e2e in Rust? HOT 2
- wasm-bindgen version mismatch between cargo-leptos and the template
- Attempting to `Executing a Server on a Remote Machine Without the Toolchain` HOT 4
- Counter does not work in Firefox HOT 1
- Running 'trunk serve --open --features csr' fails HOT 2
- problem realated to leptos actix template HOT 1
- License a bit annoying for a template: consider CC0, instead? HOT 1
- cargo leptos watch Error: compile sass/scss HOT 1
- wasm-bindgen 0.2.91 version don't work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from start.