Estou com esses erros ao tentar fazer um deploy, eu já rodei esses códigos:
npm install --save --legacy-peer-deps
npm config set legacy-peer-deps true
Mas não ta resolvendo, na verdade ja resolvi uma boa parte dos erros instalando as versões das dependencias uma a uma porém esses erros abaixo agora estão aparecendo:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: postcss-lockfile@2.0.0
npm ERR! Found: postcss@7.0.39
npm ERR! node_modules/postcss
npm ERR! postcss@"^7.0.39" from the root project
npm ERR! postcss@"^7.0.32" from autoprefixer@9.8.6
npm ERR! node_modules/autoprefixer
npm ERR! autoprefixer@"9.8.6" from @angular-devkit/build-angular@0.1100.0
npm ERR! node_modules/@angular-devkit/build-angular
npm ERR! dev @angular-devkit/build-angular@"~0.1100.0" from the root project
npm ERR! 34 more (css-declaration-sorter, cssnano, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer postcss@"^8.3.0" from postcss-lockfile@2.0.0
npm ERR! node_modules/postcss-lockfile
npm ERR! postcss-lockfile@"^2.0.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: postcss@8.4.14
npm ERR! node_modules/postcss
npm ERR! peer postcss@"^8.3.0" from postcss-lockfile@2.0.0
npm ERR! node_modules/postcss-lockfile
npm ERR! postcss-lockfile@"^2.0.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /tmp/npmcache.ro7yK/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/npmcache.ro7yK/_logs/2022-06-29T18_17_11_651Z-debug-0.log
já removi o node_modules e o package e instalei denovo, nada resolve de uma vez só.