#Vite HMR (internal-ip) does not work with Android

1 messages · Page 1 of 1 (latest)

woven parcel
#

https://next--tauri.netlify.app/next/mobile/development/configuration
After following the guide above, HMR with vite does not work

I get two errors:

Error: listen EADDRNOTAVAIL: address not available 192.168.0.0:5183
    at Server.setupListenHandle [as _listen2] (node:net:1734:21)
    at listenInCluster (node:net:1799:12)
    at doListen (node:net:1948:7)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)```

and

`Compiling tauri v2.0.0-alpha.11/o error: An existing connection was forcibly closed by the remote host. (os error 10054); terminate connection: 0`

Currently, Tauri Mobile support is only available on the 2.0.0 alpha tracks, so the main tauri build tools will not produce a project that supports it. You'll need to update a few dependencies to get started.

#

now that im testing it, HMR doesn't work in the desktop app either

grave sluice
#

the same problem here
my splash screen window load ok
but when i invoke the commands (in js/ts) not work
like the command to close splash screen

➜ cargo tauri info

[✔] Environment
    - OS: Windows 10.0.22621 X64
    ✔ WebView2: 116.0.1938.62
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.70.0 (90c541806 2023-05-31)
    ✔ Cargo: 1.70.0 (ec8a8a0ca 2023-04-25)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (environment override by RUSTUP_TOOLCHAIN)
    - node: 18.17.1
    - npm: 9.6.7

[-] Packages
    - tauri [RUST]: 2.0.0-alpha.11
    - tauri-build [RUST]: 2.0.0-alpha.8
    - wry [RUST]: 0.31.1
    - tao [RUST]: 0.22.2
    - @tauri-apps/api [NPM]: 1.4.0
    - @tauri-apps/cli [NPM]: 2.0.0-alpha.11

[-] App
    - build-type: bundle
    - CSP: upgrade-insecure-requests
    - distDir: ../dist
    - devPath: http://localhost:8000/
    - framework: Vue.js
    - bundler: Vite
 
woven parcel
#
  protocol: "ws",
  host: "192.168.0.30",
  port: 5183,
},```
#

like this

near brook