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
Compiling Winwos on MacOS with Tauri V2.02 is normal through "pnpm Tauri build -- target x86_64 pc windows gnu".
But in the same environment as V2.2.0, this error is now reported.
Finished `release` profile [optimized] target(s) in 56.98s
Built application at: /test/src-tauri/target/x86_64-pc-windows-gnu/release/name.exe
Warn Cross-platform compilation is experimental and does not support all features. Please use a matching host system for full compatibility.
Warn Signing, by default, is only supported on Windows hosts, but you can specify a custom signing command in `bundler > windows > sign_command`, for now, skipping signing the installer...
Warn ignoring msi
Info Target: x64
Running makensis.exe to produce /test/src-tauri/target/x86_64-pc-windows-gnu/release/bundle/nsis/name_1.1.8+7_x64-setup.exe
failed to bundle project: error running makensis.exe: No such file or directory (os error 2)
Error failed to bundle project: error running makensis.exe: No such file or directory (os error 2)
Additional context
No response
The text was updated successfully, but these errors were encountered:
Please run it with the --verbose flag as well and show us the new logs you get from that.
Yes, it is --verbose is very helpful. I found that the error was caused by executing the makensis command instead of a missing file. I solved it by using brew install makensis, successfully solved the packaging problem.
However, when I installed it on windows server 2022 and tried to run it, I got an error that WebView2Loader.dll could not be found. The WebView2Loader.dll file was forgotten in src-tauri/target/x86_64-pc-windows-gnu/release/ and was not packaged into setup.exe. When I tried to put WebView2Loader.dll in the Windows software installation directory, it could start normally. How can I solve the WebView2Loader.dll packaging problem?
Describe the bug
Compiling Winwos on MacOS with Tauri V2.02 is normal through "pnpm Tauri build -- target x86_64 pc windows gnu".
But in the same environment as V2.2.0, this error is now reported.
Reproduction
No response
Expected behavior
No response
Full
tauri info
outputStack trace
Additional context
No response
The text was updated successfully, but these errors were encountered: