kamilkisiela / apollo-angular

A fully-featured, production ready caching GraphQL client for Angular and every GraphQL server 🎁
https://apollo-angular.com
MIT License
1.5k stars 309 forks source link

Update with "ng update apollo-angular" is failing for 3.0.0 #1761

Closed mbuening closed 2 years ago

mbuening commented 2 years ago

Describe the bug

Update to 3.0.0 with ng update apollo-angular is failing for a project that was using 2.6.0.

To Reproduce

Run ng update apollo-angular for a project that was using 2.6.0.

Expected behavior

I expect the package to be installed and for the project to be updated according to the schematic logic.

Environment:

- @angular/cli@13.2.4 
- @angular/core@13.2.3 
- @apollo/client@3.5.8 
- apollo-angular@2.6.0 
- graphql@15.8.0 
- typescript@4.4.4 

Additional context

[error] Error: Cannot find module '\<path_hidden>/node_modules/apollo-angular/schematics/migrations/v2' Require stack:

MikaStark commented 2 years ago

Duplicate of https://github.com/kamilkisiela/apollo-angular/issues/1760

kamilkisiela commented 2 years ago

1760