Closed chriswoodie closed 1 week ago
The problem seems to be in multi-project angular applications. In this line the defaultProject
is undefined because it was deprecated quite some time ago and is now finally removed via migrations.
So the default project should be determined based on the working directory and not based on the angular.json
file.
I think it might have been fixed in the past months. Please re-open if still experienced with latest version.
Describe the bug Running
nx g apollo-angular:ng-add
results in the following error after providing graphql api url and graphql version:To Reproduce
Steps to reproduce the behavior:
npm install apollo-angular
nx g apollo-angular:ng-add
, fill in the questions that appearExpected behavior
Not an error to be thrown.
Environment:
├── @angular/cli@16.0.6 ├── @angular/core@16.0.6 ├── @apollo/client@3.7.16 ├── apollo-angular@5.0.0 ├── graphql@16.7.1 └── typescript@5.0.4
Additional context
None