tauri-apps / tauri

Build smaller, faster, and more secure desktop applications with a web frontend.
https://tauri.app
Apache License 2.0
79.49k stars 2.36k forks source link

When running tauri build, bundle_dmg.sh errors fails to bundle project #4995

Open PeakerChen opened 1 year ago

PeakerChen commented 1 year ago

Describe the bug

Error [tauri_cli_node] failed to bundle project: error running bundle_dmg.sh: error running bundle_dmg.sh: failed to run /Users/chenzhanfeng/Documents/tauri/demo/src-tauri/target/release/bundle/dmg/bundle_dmg.sh

Reproduction

No response

Expected behavior

No response

Platform and versions

Environment › OS: Mac OS 12.5.0 X64 › Node.js: 18.6.0 › npm: 8.13.2 › pnpm: Not installed! › yarn: 1.22.19 › rustup: 1.25.1 › rustc: 1.63.0 › cargo: 1.63.0 › Rust toolchain: stable-aarch64-apple-darwin

Packages › @tauri-apps/cli [NPM]: 1.0.5 › @tauri-apps/api [NPM]: 1.0.2 › tauri [RUST]: 1.0.5, › tauri-build [RUST]: 1.0.4, › tao [RUST]: 0.12.2, › wry [RUST]: 0.19.0,

App › build-type: bundle › CSP: unset › distDir: ../dist › devPath: http://localhost:5173/ › framework: Vue.js

App directory structure ├─ dist ├─ node_modules ├─ public ├─ src-tauri ├─ .vscode └─ src

Stack trace

No response

Additional context

No response

revofusion commented 8 months ago

@PeakerChen to fix, just eject all mounted apps