zzhack-stack / zzhack-cli

💻 zzhack-cli is a Command Tool to help you quickly generate a WASM WebApp with simple configuration and zero code
MIT License
20 stars 1 forks source link

the command `zzhack serve` meet a problem #4

Open kyrosle opened 1 year ago

kyrosle commented 1 year ago

image

i am using in window11 pc.

mistricky commented 1 year ago

Thx for ur issue, looks like a path compatibility issue, I'll fix it later

brightmann commented 1 week ago

hi。

我运行zzhack serve也 遇到错误: $ zzhack serve ⠁

use router::RootRoutes;

pub struct Page {
    pub route: RootRoutes,
    pub name: &'static str,
}

pub const PAGES: [Page; 1] = [
    Page {
        route: RootRoutes::Home,
        name: "wiki"
    }
];

✅Apply config thread 'main' panicked at C:\Users\12799.cargo\registry\src\index.crates.io-6f17d22bba15001f\zzhack-0.1.5\src/main.rs:86:18: called Result::unwrap() on an Err value: Error { kind: NotFound, message: "program not found" } note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

如何解决?

mistricky commented 1 week ago

Hi 谢谢问题反馈,当下 zzhack 正在重构,会有 break change 和大规模的改动,可能会以不一样的方式面向大家,请耐心等待