`[email protected]` fails in `test:typescript` on all Node.js windows
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
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
- follows on from https://github.com/nodejs/citgm/issues/1185
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
Suggestion
- Either enhance
test:typescriptfor cross-platform compatibility OR - remove
test:typescriptfrom lookup.json forundici
cc: @mcollina @ronag
- Lenguaje dominante
- JavaScript
- Estrellas
- 608
- Forks
- 158
- Merge medio
- 2 d 17 h
- PR fusionados (30 d)
- 18
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de nodejs/citgm
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
`citgm-smoker` fails `express-session` in `alpine-latest-x64` (openssl: not found)Posiblemente ocupada @MikeMcC399 la tomó hace 2 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
nodejs/citgm#1200 · 6 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
nodejs/citgm#1176 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
`microtime` fails on macOS, Windows & Alpine LinuxPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
nodejs/citgm#1175 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de nodejs/citgm
Issues similares
-
release-followup
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Workspace secrets/constants containing "$" are corrupted when resolved in data source optionsAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
area: right sidebar
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
zulip/zulip#40449 · 3 comentarios ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
cleanup
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
uclaacm/membership-portal-ui#409 ·
Los mantenedores suelen responder en 1 día