Skip to content

Json related errors while building #1

Open

Description

@Bushidosan

For anyone running a recent version of golang you might get some errors related to the JSON package in alias.go. This is a known issue: tailscale/tailscale#20254

The fix is on windows to set the following environment variable:

$env:GOEXPERIMENT = "nojsonv2"

Hopefully this helps someone that faces the same issue :)

Activity

  1. CCob commented on Aug 27, 2026

    @CCob
    Collaborator

    I have rebased the patches over tailscale v1.102.3 (fixed in v1.102.1 apparently), so hopefully should no longer fail when building with newer go.

    I don't have a build environment setup with the latest version, so let me know if the latest tree works and I'll close this one out.

    Thanks.

  2. Bushidosan commented on Aug 28, 2026

    @Bushidosan
    Author

    Yes this solves the error, it also builds on MSVC 2026 without any issues as far as i have tested right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions