actions / actions/setup-node

Error: Unable to find Node version 'nightly' for platform linux and architecture x64.

Open
#1,422 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
TypeScript
Stars
5k
Forks
1.7k
Avg merge
3d 12h
Merged PRs (30d)
2

Description

Description:

Error: Unable to find Node version 'nightly' for platform linux and architecture x64.

Action version:
actions/setup-node@v6

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:
n/a

Repro steps:
A description with steps to reproduce the issue. If you have a public example or repo to share, please provide the link.

      - name: Setup Node
        uses: actions/setup-node@v6
        with:
          cache: npm
          node-version: nightly

Expected behavior:
Should setup Node nightly without error.

Actual behavior:
Fails with error:

Error: Unable to find Node version 'nightly' for platform linux and architecture x64.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked workflow run and the setup-node@v6 step that requests node-version: nightly on an Ubuntu hosted runner. Reproduce the failure and trace how the action resolves the nightly version; done means the workflow can install Node nightly without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, node.js
Domain
ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.