I am stuck updating a dependency which is already up to date

Discussão em 'Angular' iniciado por Thomas Williams, Junho 24, 2025.

  1. I am trying to update Angular from 12 to 16.

    I want to use the three.js library and it needs Angular/cli 16 at least to work.

    So angular/cli is already up to 16 but angular has been updated to 13 so far. I managed that much using

    npm run ng update


    and then went into package.json and increased the package numbers and typed

    npm i.


    That worked to get from 12 to 13, and so I try it again.

    It tells me one of my packages needs to update even though I know it is already up to 13.4.0 already.

    So regardless I type npm run ng update @angular/core@13

    However it insists I am already updated.

    So then I get desperate and I delete my node_modules and recreate using npm install. However nothing seems to work.

    Any ideas, I am desperate.

    [​IMG]

    Continue reading...

Compartilhe esta Página