Skip to content

Bun not working #32781

@euskadi31

Description

@euskadi31

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

I'm trying to use ng update in an Angular project in a monorepo

Contexte:
I use monorepo, the bun.lock is in the parent (root workspace), the Angular is in the console/ directory.

.
├── bun.lock
├── console
│   ├── README.md
│   ├── angular.json
│   ├── components.json
│   ├── dist
│   ├── libs
│   ├── package.json
│   ├── public
│   ├── src
│   ├── tsconfig.app.json
│   ├── tsconfig.json
│   └── tsconfig.spec.json
├── node_modules
├── package.json

Minimal Reproduction

  1. Create a new Angular project with npm in menorepo (console/)
  2. Migrate npm to bun (change cli.packageManager to bun in angular.json)
  3. Run bunx ng update @angular/cli in console/

Exception or Error

bunx ng update @angular/cli
The installed Angular CLI version is outdated.
Installing a temporary Angular CLI versioned 21.2.2 to perform the update.
Using package manager: bun
Collecting installed dependencies...
Found 4 dependencies.
Package '@angular/cli' is not a dependency.

Your Environment

Bun: 1.3.10
Angular cli: 21.2.0 
OS: macOS 26.3

Anything else relevant?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: @angular/cligemini-triagedLabel noting that an issue has been triaged by geminineeds: repro stepsWe cannot reproduce the issue with the information given

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions