Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 2.57 KB

README.md

File metadata and controls

46 lines (33 loc) · 2.57 KB

Webapp_serverless- React+Type script

Learn to create a web app using AWS severless services
Link: https://aws.amazon.com/getting-started/hands-on/build-serverless-web-app-lambda-amplify-bedrock-cognito-gen-ai/

Architecture review

image

Errors

1) Problem: npx : File C:\Program Files\nodejs\npx.ps1 cannot be loaded because running scripts is disabled on this system.

Remediation: Run code "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser"

2) Problem: error: failed to push some refs to 'git@github.com/Joshleee7/profilesapp.git'

image
Remediation: Generate public key with SSH and copy the key over to github SSH and GPG keys
image

3) Problem: npx ampx sandbox error, credential issue

image
Remediation: provide access key and secret access key
image
Steps to get access keys
image

4) Problem: Initial setup error, I created vue instead of react application in the beginning

image
image
image
Remediation: To reinstall the applcation with React+Javascript

5) Problem: Origin name differs

image
Remediation: Remove the origin and add again
image

6) Problem Security Token included in the request is expired in AWS

image
Remediation: Just re-enter amplify and deploy again

7) Error in loading recipe after input ingredients

image Remediation: Find the latest claude sonnet version and amend accordingly in bedrock.js and backend.ts (In amplify)