alexkehayias / woz

Woz is a progressive WebAssembly app (PWAA) generator for Rust.
https://woz.sh
169 stars 11 forks source link

Woz fails to install on Windows 10 #1

Open jpryne opened 5 years ago

jpryne commented 5 years ago

Following directions from https://woz.sh/, everything went smoothly until I got to:

cargo install woz

I downloaded & compiled everything easily, yet 15 errors followed, such as:

error[E0433]: failed to resolve: maybe a missing extern crate sys;? --> C:\Users\jack_.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.3\src\lib.rs:24:9 | 24 | pub use sys::size::terminal_size; | ^^^ maybe a missing extern crate sys;?

Full console output is available here: woz-install-fail-windows.txt

Apologies if this was due to user error. I am actually a rabbit.

Looking through the Termion project and will possibly file an issue there as well...

jpryne commented 5 years ago

Forked Termion with the suggested fix

alexkehayias commented 5 years ago

@jpryne thanks, I'll take a look. I don't have a windows machine to try this out on which will make this a bit more difficult.

alexkehayias commented 5 years ago

termion is only used for password input so I think it might be easier to just drop the dependency and re-implement the part that's needed.

Wodann commented 5 years ago

I wanted to try woz, but ran into the same problem. I replaced termion with crossterm as it should support all desired operating systems. The only problem is that I don't have a server to self-host woz on for testing the CLI.

My fork of woz can be found here.