Currently, my application is in Angular 8, and I am using @angular-material-extensions/google-maps-autocomplete library in my project.
While updating my project from Angular 8.1.0 to 9.0, I update this dependency using below command:
ng update @angular-material-extensions/google-maps-autocomplete --allowDirty --force
while running ng serve command, I am getting below issue:
ERROR in The target entry-point "@angular-material-extensions/google-maps-autocomplete" has missing dependencies: - @angular/flex-layout
The manual installation of flex-layout package solves the issue.
Is manual installation is a good way? Shouldn't it be handled automatically by updating angular-material-extensions/google-maps-autocomplete library?
OS and Version?
Windows 10
Versions
Angular CLI: 9.1.8
Node: 12.18.0
OS: win32 x64
Angular: 9.1.11
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes
Package Version
@angular-devkit/architect 0.801.3
@angular-devkit/build-angular 0.901.8
@angular-devkit/build-optimizer 0.901.8
@angular-devkit/build-webpack 0.901.8
@angular-devkit/core 9.1.8
@angular-devkit/schematics 9.1.8
@angular/cdk 9.2.4
@angular/cli 9.1.8
@angular/flex-layout 9.0.0-beta.31
@angular/material 9.2.4
@ngtools/webpack 9.1.8
@schematics/angular 9.1.8
@schematics/update 0.901.8
rxjs 6.5.5
typescript 3.8.3
webpack 4.42.0
Steps to reproduce the issue
ng update @angular/core @angular/cli
ng update @angular/material --allowDirty
ng update @angular-material-extensions/google-maps-autocomplete --allowDirty --force
ng serve
The log given by the failure
$ ng serve
ERROR in The target entry-point "@angular-material-extensions/google-maps-autocomplete" has missing dependencies:
@angular/flex-layout