"Directory not found" for https://nodejs.org/download/docs/ content

Aperta
#1,084 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
cloud, typescript

Direzione di ricerca

The bug is in the Cloudflare Worker that serves nodejs.org, so start with its request routing for /download/docs/ paths, and compare it with the working direct.nodejs.org host. Check the listed directory URLs such as /download/docs/latest-jod/ and /download/docs/v26.13.0/, and the linked issue #1034 for the nightly case. Done means those directory URLs resolve to their api/ content the same way the direct host does.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

https://github.com/nodejs/node#api-documentation says:


API documentation

Documentation for the latest Current release is at https://nodejs.org/api/. Version-specific documentation is available in each release directory in the docs subdirectory. Version-specific documentation is also at https://nodejs.org/download/docs/.


https://nodejs.org/download/docs/ displays "Index of /download/docs"

Each of the current directories leads to "Directory not found"

https://nodejs.org/download/docs/latest-jod/
https://nodejs.org/download/docs/latest-krypton/
https://nodejs.org/download/docs/latest-lithium/
https://nodejs.org/download/docs/latest-v22.x/
https://nodejs.org/download/docs/latest-v24.x/
https://nodejs.org/download/docs/latest-v26.x/
https://nodejs.org/download/docs/v22.23.4/
https://nodejs.org/download/docs/v24.22.2/
https://nodejs.org/download/docs/v26.13.0/
https://nodejs.org/download/docs/v27.0.0-alpha.0.0.0/

This appears to be similar to the issue https://github.com/nodejs/release-cloudflare-worker/issues/1034 for nightly releases.

The alternate links which aren't normally supposed to be used, do link to content:

https://direct.nodejs.org/download/docs/v27.0.0-alpha.0.0.0/, for example, does link to content, so that
https://direct.nodejs.org/download/docs/v27.0.0-alpha.0.0.0/api/ displays Node.js v27.0.0 documentation

https://nodejs.org/api/ also correctly displays Node.js v26.13.0 documentation

Lingua principale
TypeScript
Stelle
58
Fork
21
Merge medio
2g 11h
PR unite (30g)
29

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nodejs/release-cloudflare-worker

Tutte le issue di nodejs/release-cloudflare-worker

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.