Hi everyone, I’m new to Kotlin/WASM and running in...
# compose-web
y
Hi everyone, I’m new to Kotlin/WASM and running into an issue I can’t figure out. When I run the project, it works perfectly on all major browsers on my computer, but when I try accessing it via the IP address on my phone, I get this error:
Copy code
Uncaught runtime error:
ERROR
[object WebAssembly.Exception]
handleError@webpack -
internal:///./././
node_modules/webpack-dev-server/client/
overlay.js:252:58
createOverlay</@webpack-
internal:///./././
node_modules/webpack-dev-server/client/
overlay.js:275:18
What does this error mean, and how can I debug or fix it?
m
This seems to be the same error as the one from @אליהו הדס above.
Which phone/browser and what do you mean by “accessing it via the IP address”?
y
To access my Kotlin WASM project on my phone, I enter my computer's WiFi IP address followed by the port number (like
192.168.x.x:8080
) into my phone's browser. Here's a helpful article that explains the process: [Using Localhost for Mobile Development](https://dev.to/shaundai/using-localhost-for-mobile-development-1k4g). I use Chrome and Firefox on my phone for this
💡 1
s
Hi Yassine, if you need to test how the website looks from different smartphones try using the display of the various available models, contained in the chrome developers panel. Activate it at the top left (toogle device toolbar)
1
👍 1
🙏 1
y
Stefano, thank you for helping me
s
@Yassine Abou Happy to help, hard to find solutions, hope that was what you were looking for!