Skip to content

ng update halts at "Installing a temporary Angular CLI" when using pnpm #30532

Closed
@CGarces

Description

@CGarces

Command

update

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

Similar to #30512 but using pnpm

I can't see any log or debug trace, I need some guidance to generate proper logs.

Minimal Reproduction

Using powershell

PS> $env:DEBUG='*'; ng update @angular/cli --name use-application-builder --verbose
Locating potential npmrc files:
Trying 'C:\Users\carlo\.npmrc'...found.
The installed Angular CLI version is outdated.
Installing a temporary Angular CLI versioned 20.0.2 to perform the update.

Exception or Error


Your Environment

Angular CLI: 19.2.14
Node: 22.16.0
Package Manager: pnpm 10.10.0
OS: win32 x64

Angular: 19.2.14
... cli, common, compiler, compiler-cli, core, forms, localize
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1902.14 (cli-only)
@angular-devkit/build-angular   19.2.14
@angular-devkit/core            19.2.14 (cli-only)
@angular-devkit/schematics      19.2.14 (cli-only)
@schematics/angular             19.2.14 (cli-only)
rxjs                            7.8.2
typescript                      5.8.3

Anything else relevant?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions