microsoft / microsoft/TypeScript

Removing `node_modules`, running `npm ci` leaves diagnostics behind in ts and tsconfig files

Abierto
#58,359 0 comentarios 0 reacciones 1 asignado Ver en GitHub

@sheetalkamat ya está trabajando en esto.

Desde el 2/5/2024.

Needs Investigation
Lenguaje dominante
Go
Estrellas
111k
Forks
14.4k
Merge medio
1 d 19 h
PR fusionados (30 d)
117

Descripción

Acknowledgement
  • I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.
Comment

I've been having quite a few watcher problems recently, and have been collecting log files to try and report the problem.

The last two come from doing npm ci inside of https://github.com/jakebailey/every-ts and https://github.com/jakebailey/hereby, but the first one is a very very simple project: https://github.com/jakebailey/ts-watcher-issue-1

In that one, the first trace is just me opening the already-installed repo, running rm -rf node_modules, waiting for the errors to appear in index.ts and tsconfig.json, and then doing npm ci. The errors in tsconfig.json do not disappear.

image

In this example, it also reproduces in --watch mode.

ts-watcher-issue-1

I also experience this within the TS repo, but I haven't been able to get a trace of that one yet.

@sheetalkamat

Guía de contribución

Abrir la guía de contribución

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.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.