Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

`[email protected]` fails in `test:typescript` on all Node.js windows

Abierto
#1,196 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
65/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
javascript, nodejs, typescript
Área
testing, tooling

Línea de trabajo

Inspect lib/lookup.json for the undici entry and compare it with the package’s .github/workflows/ci.yml and test:typescript script. Reproduce on Windows 11 with citgm undici, then investigate why tsc ./types/*.d.ts cannot resolve the declaration files; the glob behavior may need a cross-platform adjustment or an explicit file list. Done means the TypeScript checks pass on Windows without breaking Linux or macOS, or the lookup configuration is intentionally changed and its rationale is documented.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Situation

Running citgm undici fails on Node.js 22, 24 & 26 (windows)

error:                     | > [email protected] test:typescript
error:                     | > tsd && tsc test/imports/undici-import.ts --typeRoots ./types --noEmit && tsc ./types/*.d.ts --noEmit --typeRoots ./types
error:                     |
error:                     | error TS6053: File 'types/*.d.ts' not found.

Note that test:typescript only runs in ubuntu-latest when testing with https://github.com/nodejs/undici/blob/main/.github/workflows/ci.yml in the source repo. It doesn't appear to be testing in windows.

Item Status
npm package https://www.npmjs.com/package/undici
npm status active
last published 8.12.2 Oct 15, 2026
weekly downloads 207,965,518
repo location https://github.com/nodejs/undici
repo last update to default branch Oct 15, 2026
repo status active
repo CI status runs in Node.js 22-26, macos, ubuntu & windows
lookup - skip -
lookup maintainer 1 mcollina
lookup maintainer 2 ronag

Repo CI https://github.com/nodejs/undici/blob/main/.github/workflows/ci.yml runs in Node.js 22 - 26 on macos, ubuntu & windows.

Steps to reproduce

On Windows 11 26H2, Node.js 24.22.0 LTS

npm install citgm@latest -g # 10.0.4
citgm undici

Results

Cross-check of [email protected] in GitHub Actions shows that it succeeds in macos & ubuntu.

It fails in windows.

Node.js npm macos ubuntu windows
22.23.3 10.9.9 PASS PASS FAIL
24.21.0 11.19.0 PASS PASS FAIL
26.12.0 11.20.0 PASS PASS FAIL

References

https://github.com/nodejs/citgm/blob/37e15454ddfe5aba91955062b7899114c528e7d1/lib/lookup.json#L394-L419

Suggestion

  • Either enhance test:typescript for cross-platform compatibility OR
  • remove test:typescript from lookup.json for undici

cc: @mcollina @ronag

Lenguaje dominante
JavaScript
Estrellas
608
Forks
158
Merge medio
2 d 17 h
PR fusionados (30 d)
18

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de nodejs/citgm

Todos los issues de nodejs/citgm

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.