-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
platform: Androidstatus: needs triageThis issue needs to triage, applied to new issuesThis issue needs to triage, applied to new issuestype: bug
Description
Describe the bug
JS resource response randomly lose some characters.
03-10 12:02:38.404 13924 13924 E Tauri/Console: File: https://tauri.localhost/node_modules/.vite/deps/react-dom_client.js?v=0cc140e4 - Line 14117 - Msg: Uncaught SyntaxError: Unexpected identifier
Code of this line should be hostParentIsContainer = prevHostParentIsContainer; but I got hostParentIsContainer prevHostParentIsContainer;
And every time I reload the page, the location of losing character changed.
Reproduction
tauri-mobile-bug.zip (updated at Fri, 10 Mar 2023 12:00:37 GMT)
NOTE that the page may need reload once or more times. (E.g. using chrome://inspect/#devices to reload it)
Expected behavior
No response
Platform and versions
Environment
› OS: Windows 10.0.22624 X64
› Webview2: 110.0.1587.63
› MSVC:
- Visual Studio Community 2022
› Node.js: 16.19.1
› npm: 8.19.3
› pnpm: 7.29.0
› yarn: 1.22.19
› rustup: 1.25.2
› rustc: 1.67.1
› cargo: 1.67.1
› Rust toolchain: stable-x86_64-pc-windows-msvc
Packages
› @tauri-apps/cli [NPM]: 2.0.0-alpha.2
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Error("unexpected character 't' while parsing major version number")', src\info.rs:566:67
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Stack trace
No response
Additional context
Using Android simulator Pixel_XL_API_33 (x86_64)
It work well if redirect from tauri.localhost to the real host:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
platform: Androidstatus: needs triageThis issue needs to triage, applied to new issuesThis issue needs to triage, applied to new issuestype: bug


