diegosouzapw/OmniRoute · error

Unsupported platform for Tailscale install: ${os.platform()}

Error message

Unsupported platform for Tailscale install: ${os.platform()}

What it means

Error "Unsupported platform for Tailscale install: ${os.platform()}" thrown in diegosouzapw/OmniRoute.

Source

Thrown at src/lib/tailscaleTunnel.ts:1164

      } catch {
        // Ignore cleanup errors.
      }
      if (code === 0) resolve();
      else reject(new Error(`msiexec exited with code ${code}`));
    });
    child.on("error", reject);
  });
}

export async function installTailscale({
  sudoPassword,
  onProgress,
}: {
  sudoPassword?: string;
  onProgress?: (message: string) => void;
} = {}) {
  if (!isSupportedPlatform()) {
    throw new Error(`Unsupported platform for Tailscale install: ${os.platform()}`);
  }

  const password = toNonEmptyString(sudoPassword) || getCachedPassword() || "";
  if (password) {
    setCachedPassword(password);
  }

  onProgress?.("Checking existing Tailscale installation...");
  const existingBinary = await resolveBinary();
  if (existingBinary.binaryPath) {
    onProgress?.("Tailscale is already installed.");
  } else if (getCurrentPlatform() === "win32") {
    onProgress?.("Downloading and installing Tailscale for Windows...");
    await installTailscaleWindows(onProgress);
  } else if (getCurrentPlatform() === "darwin") {
    onProgress?.("Installing Tailscale on macOS...");
    await installTailscaleMac(password, onProgress);
  } else if (getCurrentPlatform() === "linux") {

View on GitHub (pinned to a179ffed5b)

When it happens

Trigger: Thrown at src/lib/tailscaleTunnel.ts:1164 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25). Data as JSON: /api/errors/12705eddf4f82e0a. Report an issue: GitHub.