Я хотел избавиться от своих уязвимостей и использовал
npm audit fix --force
Но я отменил его через несколько строк, потому что он сказал: «Я надеюсь, что вы знаете, что делаете»
Теперь, если я попытаюсь
npm install
я получу
$ npm install
npm WARN @angular-devkit/build-angular@0.900.7 requires a peer of typescript@>=3.6 < 3.8 but none is installed. You must install peer dependencies yourself.
npm WARN @ngtools/webpack@9.0.7 requires a peer of typescript@>=3.6 < 3.8 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/compiler-cli@9.0.7 requires a peer of typescript@>=3.6 <3.8 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/platform-browser-dynamic@8.1.3 requires a peer of @angular/compiler@8.1.3 but none is installed. You must install peer dependencies yourself.
npm WARN @ngtools/webpack@9.0.7 requires a peer of typescript@>=3.6 < 3.8 but none is installed. You must install peer dependencies yourself.
npm WARN ts-jest@24.0.2 requires a peer of jest@>=24 <25 but none is installed. You must install peer dependencies yourself.
audited 1219421 packages in 12.454s
39 packages are looking for funding
run `npm fund` for details
found 23 vulnerabilities (21 low, 2 moderate)
run `npm audit fix` to fix them, or `npm audit` for details
Если я установлю @ angular / compiler@8.1.3, мне понадобится @ angular / compiler@9.0.7 и наоборот