HuLaSpark / HuLa

HuLa is a desktop instant messaging app built on Tauri+vue3 (not just instant messaging)
https://hulaspark.com
Apache License 2.0
542 stars 104 forks source link

pnpm run tauri:dev报错 #3

Closed 982413184 closed 4 months ago

982413184 commented 4 months ago

Error failed to get cargo metadata: No such file or directory (os error 2)

nongyehong commented 4 months ago

或许你遇到了跟这个人一样的问题,这个可能是因为你电脑rust环境引起的:https://github.com/rust-lang/rust-analyzer/issues/3118

9ui commented 4 months ago

thread 'main' panicked at src/common/window.rs:14:10: Unsupported platform! 'apply_vibrancy' is only supported on macOS: UnsupportedPlatform(""apply_acrylic()" is only supported on Windows.") note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

nongyehong commented 4 months ago

@9ui 该问题是 image 导致的,你可以尝试着把对应的macOS的代码删除。

nongyehong commented 4 months ago

拉取最新代码解决这个问题