tauri-yew-demo
tauri-yew-demo copied to clipboard
Trouble running 'trunk serve' (starting server)
I've had no success running the code pulled from your github repo to my Windows 10 Pro system. My Windows system has the latest Microsoft updates and is at version '10.0.19045 build 19045'. After using cargo to build both 'frontend' and 'src-tauri', then from a Windows console window (as administrator) while in the 'frontend' folder I execute 'trunk serve', and get the following error dump =>
D:\Users\ricej\temp\tauri-yew-demo\frontend>trunk serve
2023-03-12T02:23:46.441113Z INFO starting build
2023-03-12T02:23:46.441669Z INFO spawning asset pipelines
2023-03-12T02:23:46.593521Z INFO copying & hashing css path="\\?\D:\Users\ricej\temp\tauri-yew-demo\frontend\public\main.css"
2023-03-12T02:23:46.593563Z INFO building frontend
2023-03-12T02:23:46.594512Z INFO finished copying & hashing css path="\\?\D:\Users\ricej\temp\tauri-yew-demo\frontend\public\main.css"
Finished dev [unoptimized + debuginfo] target(s) in 0.10s
2023-03-12T02:23:46.788618Z INFO fetching cargo artifacts
2023-03-12T02:23:46.975206Z INFO processing WASM for frontend
2023-03-12T02:23:47.082674Z INFO calling wasm-bindgen for frontend
2023-03-12T02:23:47.201041Z INFO copying generated wasm-bindgen artifacts
2023-03-12T02:23:47.213439Z INFO applying new distribution
2023-03-12T02:23:47.332995Z INFO success
2023-03-12T02:23:47.339331Z INFO serving static assets at -> /
thread 'tokio-runtime-worker' panicked at 'error binding to 127.0.0.1:8080: error creating server listener: An attempt was made to access a socket in a way forbidden by its access permissions. (os error 10013)', C:\Users\Jerry W. Rice.cargo\registry\src\github.com-1ecc6299db9ec823\hyper-0.14.19\src\server\server.rs:77:13
stack backtrace:
0: 0x7ff7898b8f64 -
I've a c++ and rust systems developer, but I'm a newbie when it does to Web development and javascript (as well as WASM). Do you have any suggestions?
Jerry W. Rice