Ошибка набора текста TS2688: не удается найти файл определения типа для - PullRequest
0 голосов
/ 09 марта 2020

У меня есть проект с машинописным шрифтом, который работал нормально, пока не было выполнено задание (никто в проекте не знает об изменениях, которые могли бы вызвать эту ошибку). Теперь, каждый раз, когда я пытаюсь запустить сервер или клиент, я получаю длинный список ошибок для пакетов и библиотек, на которые я не ссылаюсь нигде в моем коде:

error TS2688: Cannot find type definition file for 'color'.
error TS2688: Cannot find type definition file for 'color-convert'.
error TS2688: Cannot find type definition file for 'compression'.
error TS2688: Cannot find type definition file for 'cross-spawn'.
error TS2688: Cannot find type definition file for 'debug'.
error TS2688: Cannot find type definition file for 'ejs'.
error TS2688: Cannot find type definition file for 'got'.
error TS2688: Cannot find type definition file for 'hapi__joi'.
error TS2688: Cannot find type definition file for 'history'.
error TS2688: Cannot find type definition file for 'http-proxy'.
error TS2688: Cannot find type definition file for 'lodash'.
error TS2688: Cannot find type definition file for 'marked'.
error TS2688: Cannot find type definition file for 'marked-terminal'.
error TS2688: Cannot find type definition file for 'memory-fs'.
error TS2688: Cannot find type definition file for 'mkdirp'.
error TS2688: Cannot find type definition file for 'multer'.
error TS2688: Cannot find type definition file for 'mustache'.
error TS2688: Cannot find type definition file for 'prettier'.
error TS2688: Cannot find type definition file for 'prop-types'.
error TS2688: Cannot find type definition file for 'q'.
error TS2688: Cannot find type definition file for 'react'.
error TS2688: Cannot find type definition file for 'react-dom'.
error TS2688: Cannot find type definition file for 'react-router'.
error TS2688: Cannot find type definition file for 'react-router-config'.
error TS2688: Cannot find type definition file for 'react-router-dom'.
error TS2688: Cannot find type definition file for 'resolve'.
error TS2688: Cannot find type definition file for 'rimraf'.
error TS2688: Cannot find type definition file for 'signale'.
error TS2688: Cannot find type definition file for 'sockjs'.
error TS2688: Cannot find type definition file for 'sockjs-client'.
error TS2688: Cannot find type definition file for 'spdy'.
error TS2688: Cannot find type definition file for 'webpack-bundle-analyzer'.
error TS2688: Cannot find type definition file for 'webpack-dev-middleware'.

Я попытался перезапустить vscode, yarn gen:types, yarn install. Я использую Windows, а на Ма c?

вроде бы ничего не происходит?

...