Skip to content

ng update @angular/material not working as it should #11904

@mainawycliffe

Description

@mainawycliffe

I am not sure whether this is a bug with Angular Material or Angular CLI but when i run ng update @angular/material, it updates my NPM packages correctly on the package.json but when i check the version of angular am running using ng -v, i get the older (previous) version but its correctly reflected to the new version in package.json. And when i run ng update, it recommends update the @angular/material package, no matter the number of time i update successfully.

The reason am posting here is because am guessing this is an issue with angular/material schematics because it doesn't affect rxjs and angular/core among other libraries in my project.

I am using Ubuntu 18, with yarn 1.7.0.

screenshot from 2018-06-24 03-17-39
screenshot from 2018-06-24 03-18-48

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions