You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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/[email protected]
├── @angular/[email protected]
├── @apollo/[email protected]
├── [email protected]
├── [email protected]
└── [email protected]
Additional context
None
The text was updated successfully, but these errors were encountered: