You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
running npm run vite-tauri build --target x86_64-apple-darwin always yields an error
npm run vite-tauri build --target x86_64-apple-darwin
> project@0.0.0 vite-tauri /path/to/project
> vite-tauri "build" "x86_64-apple-darwin"
[vite-plugin-tauri] Building Vite project...
vite v2.8.4 building for production...
✓ 98 modules transformed.
dist/index.html 0.48 KiB
dist/assets/index.04504daf.js 8.07 KiB / gzip: 3.42 KiB
dist/assets/index.d260c74e.css 320.40 KiB / gzip: 41.45 KiB
dist/assets/vendor.ce5b3565.js 340.00 KiB / gzip: 88.89 KiB
[vite-plugin-tauri] Vite build finished.
[vite-plugin-tauri] Building Tauri app...
error: Found argument 'x86_64-apple-darwin' which wasn't expected, or isn't valid in this context
USAGE:
cargo build --features <FEATURES>...
For more information try --help
[vite-plugin-tauri] Error: failed to build app: Result of `cargo build` operation was unsuccessful: exit status: 1
The corresponding command using the tauri cli works just fine:
tauri build --target x86_64-apple-darwin
Do flags need to be escaped somehow?
The text was updated successfully, but these errors were encountered:
running
npm run vite-tauri build --target x86_64-apple-darwin
always yields an errorThe corresponding command using the tauri cli works just fine:
Do flags need to be escaped somehow?
The text was updated successfully, but these errors were encountered: