tauri-yew-demo icon indicating copy to clipboard operation
tauri-yew-demo copied to clipboard

Trouble running 'trunk serve' (starting server)

Open jerrywrice opened this issue 1 year ago • 0 comments

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 - 1: 0x7ff78960053b - 2: 0x7ff7898973e1 - 3: 0x7ff7898bcfcb - 4: 0x7ff7898bcb97 - 5: 0x7ff7898bdaf7 - 6: 0x7ff7898bd596 - 7: 0x7ff7898bd4df - 8: 0x7ff7898bd4b4 - 9: 0x7ff7899a8c95 - 10: 0x7ff78954bfd2 - 11: 0x7ff78947b864 - 12: 0x7ff7894667ca - 13: 0x7ff7898d82d1 - 14: 0x7ff7898d622e - 15: 0x7ff7898cb0d4 - 16: 0x7ff7898caddd - 17: 0x7ff7898b588b - 18: 0x7ff96de67614 - BaseThreadInitThunk 19: 0x7ff96e4e26a1 - RtlUserThreadStart

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

jerrywrice avatar Mar 12 '23 02:03 jerrywrice