aws-samples / aws-mobile-appsync-chat-starter-angular

GraphQL starter progressive web application (PWA) with Realtime and Offline functionality using AWS AppSync
https://aws.amazon.com/appsync/
Apache License 2.0
518 stars 162 forks source link

amplify add codegen Failure #37

Closed vu2sar closed 5 years ago

vu2sar commented 5 years ago

`amplify add codegen --apiId √ Getting API details Successfully added API ChatQL to your Amplify project ? Choose the code generation language target angular ? Enter the file name pattern of graphql queries, mutations and subscriptions src\graphql*\.graphql ? Do you want to generate/update all possible GraphQL operations - queries, mutations and subscriptions Yes ? Enter the file name for the generated code src\app\API.service.ts ? Do you want to generate code for your newly created GraphQL API Yes √ Downloaded the schema √ Generated GraphQL operations successfully and saved at src\graphql

Followed every step but got the following error.

KoldBrewEd commented 5 years ago

This is unrelated to the app. Looks like an issue with the Amplify CLI. Suggest to either upgrade to the latest version of the CLI or create an issue in the AWS Amplify repository.