@tailscale I am trying to run a tsnet app in the browser (wasm) but I get the following error when loading the wasm compiled go code in the browser:

tsnet: Executable not implemented for js. Do you know what may be happening here?

If I remove all the ts logic I can successfully run my code in the browser. Things fail when I incorporate the tsnet package and start my tsnet app.

@drio @tailscale You could use https://github.com/tailscale/tailscale/tree/main/cmd/tsconnect as an example of what would need to be done.

https://github.com/tailscale/tailscale/tree/main/tsnet doesn't have any example apps set up for WASM.

tailscale/cmd/tsconnect at main · tailscale/tailscale

The easiest, most secure way to use WireGuard and 2FA. - tailscale/cmd/tsconnect at main · tailscale/tailscale

GitHub
Thank you @dgentry @tailscale . Looking into it. Details to follow here: https://github.com/tailscale/tailscale/issues/8315
Getting a "tsnet: Executable not implemented for js" when running tsnet app in the browser (wasm) · Issue #8315 · tailscale/tailscale

What is the issue? I have a very simple tsnet app that runs correctly standalone but when I cross-compile it to wasm and run it in the browser I get the following js browser console error: tsnet: E...

GitHub