[bug] Error/crash when trying to run npm run tauri:serve
using webviewFixedRuntimePath
in tauri.conf.json
#4308
Labels
npm run tauri:serve
using webviewFixedRuntimePath
in tauri.conf.json
#4308
Describe the bug
Attempting to use a fixed WebView2 runtime fails in dev mode in Windows. Creating a production .msi installer does work and packages the runtime correctly, however. The issue seems to only be when trying to run in development, e.g.,
npm run tauri:serve
Reproduction
./src-tauri/webview2/
, which creates aMicrosoft.WebView2.FFixedVersionRuntime.102.x.xxx...
foldertauri.conf.json
addwebviewFixedRuntimePath
totauri > bundle > windows
withwebview2/Microsoft.WebView2.FFixedVersionRuntime.102.x.xxx.../
for the path valuenpm run tauri:serve
Expected behavior
App should start as expected but using the fixed webview2 runtime
Platform and versions
Stack trace
No response
Additional context
Example repo: https://github.com/ksumarine/tauri-dev-webview2runtime-issue
The text was updated successfully, but these errors were encountered: