Closed alechp closed 3 years ago
Nice description, thanks :) You can access notecalc via localhost:5000/notecalc
You are right the README is not up to date, I will update it.
Thanks for your report!
I think useful changes would be:
npx serve
to ./compile_and_run.batThanks for the quick response. That worked :)
Summary
#![feature]
may not be used on the stable release channel1. Resolving wasm-pack and serve binaries missing
Screenshots
Without wasm-pack
With wasm-pack, without serve
Update README
Update compile_and_run.bat
Use npx for serve to avoid global install
From...
To...
2. Stable release channel
Screenshots
Stable release channel error
Re-running rustup
Questions
This is obviously not a new issue https://github.com/rust-lang/rust/issues/37877
Despite re-running rustup, there's still an issue. I'm a rust novice and I'm confident this is an issue with my system, not notecalc.
Is there a rust RC (eg. like a nightly release) that I need to be using?
3. Showing website instead of calculator
Screenshots
Serve working (expected)
Notecalc home page showing (unexpected)
Calculator I expected to see when accessing localhost:5000
Expected
I would open localhost:5000 and see an error
Actual
Surprisingly, I was able to access localhost:5000 despite the compilation errors. However, the site is showing notecalc3's website instead of the calculator.