Terminal gets stuck when trying to update Typescript for and Angularv18 project

Discussão em 'Angular' iniciado por Lorenzo Bertolaccini, Novembro 18, 2024.

  1. I have a an Angular project (which has multiple projects inside) which I updated to Angular v18.2.12. I managed to update all dependencies but TS doesn't let me build, since 4.0.8 is installed but needs either 5.4.0 ro 5.6.0. When I try to run npm i typescript@5.4.0 the terminal gets stuck in the process of the install, specifically with this segment of code:

    npm WARN Could not resolve dependency:
    npm WARN peer typescript@">=2.1.0 || >=2.1.0-dev || >=2.2.0-dev || >=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev" from tslint@5.7.0
    npm WARN node_modules/tslint
    npm WARN dev tslint@"~5.7.0" from the root project
    [#########.........] - idealTree:trunk: timing idealTree:#root Completed in 421ms


    Am I doing something wrong?

    Continue reading...

Compartilhe esta Página