actix / actix-web

Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
https://actix.rs
Apache License 2.0
21.44k stars 1.66k forks source link

debug your demo hello world,An error occurred #3377

Closed zhangxize closed 4 months ago

zhangxize commented 4 months ago

debug your demo hello world,An error occurred thread 'main' panicked at auth\casbin\src\main.rs:30:10: called Result::unwrap() on an Err value: IoError(Os { code: 3, kind: NotFound, message: "系统找不到指定的路径。" }) note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

SteveLauC commented 4 months ago

Just tested hello-world on my host, and it works pretty well.

Would you like to provide a minimal reproducible code so that we can help?

robjtede commented 4 months ago

auth\casbin\src\main.rs

looks like you're testing the casbin example from the examples repo, please file an issue there if your issue persists

zhangxize commented 4 months ago

cargo run is normal,but debug run an error occurred helloworlderror