Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Base sandbox build broken: NodeSource yanked pinned Node.js 22.22.1 package

Offen
#56 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
68/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
docker, github-actions, node.js

Rechercherichtung

Start with sandboxes/base/Dockerfile at line 61 and the Build Sandbox Images workflow, then reproduce the failed build to confirm the unavailable NodeSource pin. Compare the proposed installation approaches and verify that the chosen approach builds the base sandbox image successfully without depending on the missing package version.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Summary

The Build Sandbox Images workflow is failing because NodeSource removed nodejs=22.22.1-1nodesource1 from their apt repository. The base sandbox Dockerfile pins this exact version at line 61, causing the Docker build to fail with:

E: Version '22.22.1-1nodesource1' for 'nodejs' was not found

Failed run: https://github.com/NVIDIA/OpenShell-Community/actions/runs/23721670468

Root Cause

NodeSource has a recurring issue where they publish patch releases to their apt repo and then remove them shortly after, keeping only the .0 release. This is documented in multiple upstream issues:

The version 22.22.1-1nodesource1 was available when the pin was introduced in commit d5073c3 (Mar 12) and built successfully as recently as Mar 24 (run 23503799247). NodeSource yanked it between Mar 24–28.

The highest version currently available in the NodeSource repo is 22.22.0-1nodesource1.

Suggested Fix

Pinning to NodeSource apt packages is unreliable since they remove versions without notice. Consider one of:

  1. Install from official Node.js tarballs — download pre-built binaries directly from https://nodejs.org/dist/ which are never removed. This is the most robust option.
  2. Pin to the latest available NodeSource version (22.22.0-1nodesource1) as a short-term fix, accepting it will likely break again on the next patch release cycle.
  3. Remove the version pin and just install nodejs without a version suffix, trading reproducibility for resilience.

Option 1 is recommended since it avoids this class of problem entirely.

Vorherrschende Sprache
Dockerfile
Sterne
191
Forks
76
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus NVIDIA/OpenShell-Community

Alle Issues in NVIDIA/OpenShell-Community

Ähnliche Issues

Weitere Issues zu Build System

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.