Skip to content

ng-update: hammerjs v9 migration fails if project tsconfig does not specify explicit root file names #18504

@ahasall

Description

@ahasall

Reproduction

ng update @angular/material

Expected Behavior

It should works without a warning or error

Actual Behavior

Using package manager: 'yarn'
Collecting installed dependencies...
Found 59 dependencies.
Fetching dependency metadata from registry...
    Updating package.json with dependency @angular/material @ "9.0.0" (was "8.2.3")...
    Updating package.json with dependency @angular/cdk @ "9.0.0" (was "8.2.3")...
UPDATE package.json (3974 bytes)
✔ Packages installed successfully.
** Executing migrations of package '@angular/material' **

❯ Updates Angular Material to v9
Could not find project to perform HammerJS v9 migration. Please ensure your workspace configuration defines a project.
✖ Migration failed. See above for further details.

Environment

  • Angular: 9.0.1
  • CDK/Material: 8.2.3

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions