aws-samples / amazon-chime-sdk

This repository contains samples intended to demonstrate different use cases for the Amazon Chime SDK (JavaScript, iOS, Android, React, Messaging and Telephony)
MIT No Attribution
102 stars 130 forks source link

Issues in Amplify Demo App. #318

Open deepaksrinivasan27 opened 1 year ago

deepaksrinivasan27 commented 1 year ago

Amplify Demo app is not working and requires few changes to the repo.

  1. Module not found: Error: Can't resolve 'amazon-chime-sdk-js' in 'C:\CDK\ARC-Chime\amazon-chime-sdk\apps\amplify-demo\src\components' Pls include the dependencies - "amazon-chime-sdk-js": "^3.14.1", in package.json file

  2. update as following in index.tsx file. [Amplify is without braces and its not getting referenced]. import { Amplify } from "aws-amplify" in index.tsx

  3. Also, "npm run build" command is giving an error. Would be good check this too.

  4. Note - Would be good to have instructions on Readme file [to update lambda names in schema.graphql] in case if the users are changing lambda function names.

michhyun1 commented 1 year ago

Have you checked this blog post? https://aws.amazon.com/blogs/business-productivity/quickly-launch-an-amazon-chime-sdk-application-with-aws-amplify/

michhyun1 commented 1 year ago

Did you follow the README? Did you do the amplify configure and amplify init?

michhyun1 commented 1 year ago

There is a warning sign to use the lambda function name here: https://github.com/aws-samples/amazon-chime-sdk/tree/main/apps/amplify-demo#:~:text=%E2%9A%A0%EF%B8%8F,schema.graphql.