Skip to content

ReferenceError: ReadableStream is not defined #435

@samuel-odinware

Description

@samuel-odinware

I am trying to use setup-uv on self-hosted GHE servers. I am getting the following error on both v5 and v6.

Run astral-sh/setup-uv@v6
/home/runner/_work/_actions/astral-sh/setup-uv/v6/dist/setup/index.js:110867
webidl.is.ReadableStream = webidl.util.MakeTypeAssertion(ReadableStream)
                                                         ^

ReferenceError: ReadableStream is not defined
    at Object.45893 (/home/runner/_work/_actions/astral-sh/setup-uv/v6/dist/setup/index.js:110867:58)
    at __nccwpck_require__ (/home/runner/_work/_actions/astral-sh/setup-uv/v6/dist/setup/index.js:132263:43)
    at Object.73168 (/home/runner/_work/_actions/astral-sh/setup-uv/v6/dist/setup/index.js:108618:20)
    at __nccwpck_require__ (/home/runner/_work/_actions/astral-sh/setup-uv/v6/dist/setup/index.js:132263:43)
    at Object.60660 (/home/runner/_work/_actions/astral-sh/setup-uv/v6/dist/setup/index.js:103873:5)
    at __nccwpck_require__ (/home/runner/_work/_actions/astral-sh/setup-uv/v6/dist/setup/index.js:132263:43)
    at Object.99051 (/home/runner/_work/_actions/astral-sh/setup-uv/v6/dist/setup/index.js:107965:90)
    at __nccwpck_require__ (/home/runner/_work/_actions/astral-sh/setup-uv/v6/dist/setup/index.js:132263:43)
    at Object.54398 (/home/runner/_work/_actions/astral-sh/setup-uv/v6/dist/setup/index.js:104601:5)
    at __nccwpck_require__ (/home/runner/_work/_actions/astral-sh/setup-uv/v6/dist/setup/index.js:132263:43)

My workflow file was pulled directly from the documentation.

    steps:
      - uses: actions/checkout@v4

      - name: Install uv
        uses: astral-sh/setup-uv@v6

      - name: Set up Python
        run: uv python install

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