Skip to content

CI failing: .nvmrc 'latest' resolves to Node 27.0.0 which 404s on nodejs.org (ERR_NUB_NODE_PROVISION_FAILED) #6716

Open

Description

@fitzyracing1

What fails

Workflow .github/workflows/test.yml fails on main in job Lint on Node latest.

Error

WARN ignored build scripts for 1 package(s): @biomejs/biome@1.9.4. Run `nub approve-builds` to review and enable them, or set `strictDepBuilds=true` to fail installs that have unreviewed builds. code=WARN_NUB_IGNORED_BUILD_SCRIPTS count=1 packages=["@biomejs/b
nub run format:check
shell: /usr/bin/bash -e {0}
$ nub exec --node biome check .
Checked 457 files in 1111ms. No fixes applied.
nub run lint:check
shell: /usr/bin/bash -e {0}
$ nub exec --node biome lint .
Checked 457 files in 622ms. No fixes applied.
nub run check:comments
shell: /usr/bin/bash -e {0}
$ nub scripts/check-comments.ts
Using Node.js 27.0.0 (resolved from .nvmrc)
Error: ERR_NUB_NODE_PROVISION_FAILED: failed to provision Node latest (pinned via .nvmrc): downloading Node 27.0.0: downloading https://nodejs.org/dist/v27.0.0/node-v27.0.0-linux-x64.tar.xz: HTTP status client error (404 Not Found) for url (https://nodejs.org/
  Check your network / proxy, or pre-install Node latest so it's on PATH.
##[error]Process completed with exit code 1.

When it started

Likely cause

nub resolves .nvmrc latest to an unpublished/unavailable Node 27.0.0 tarball.

Suggested fix

Pin .nvmrc to a concrete released version (e.g. lts/*), or make the provisioner fall back to the newest downloadable release.

Activity

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