angular-material-extensions / google-maps-autocomplete

Autocomplete input component and directive for google-maps built with angular and material design |
https://angular-material-extensions.github.io/google-maps-autocomplete
MIT License
169 stars 60 forks source link

ERROR in The target entry-point "@angular-material-extensions/google-maps-autocomplete" has missing dependencies: - @angular/flex-layout #291

Closed Rahulkupadhyay closed 4 years ago

Rahulkupadhyay commented 4 years ago

Hi, 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, 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

Repro steps

  1. ng update @angular/core @angular/cli
  2. ng update @angular/material --allowDirty
  3. ng update @angular-material-extensions/google-maps-autocomplete --allowDirty --force
  4. ng serve

The log given by the failure

$ ng serve 10% building 4/4 modules 0 active[HPM]

ERROR in The target entry-point "@angular-material-extensions/google-maps-autocomplete" has missing dependencies:

Tbiniimene commented 4 years ago

try this
npm i @angular/flex-layout@9.0.0-beta.31 it fixed this issue for me

AnthonyNahas commented 4 years ago

@Tbiniimene thank you for the answer !