- Open the file
amplifyapp/docs/index.html
- Run the command
npm docs
- If there are any problems it probably has to do with the
jsdoc
library
- If there are any problems it probably has to do with the
- The new documentation will be generated in
amplifyapp/docs
Problem: When running npm start
or trying to build the front end, the following react-router error is thrown
Solution: react-router V5 uses the <Router>
and <Routes>
tags. In the newest version the library no longer uses those tags
Problem: amplify commands error out after running amplify pull, the error shows a non-existent directory
Solution: run amplify init
with default arguments
Problem: An error message is thrown when logging in: user pool xxxx does not exist
Solution:
- Run
amplify update auth
- Choose apply default configuration with social provider (non-federation)
- Note: This will reset all of the auth settings to default
Problem: Git is showing files to commit that are in the git ignore
Solution:
- Run
git rm -rf --cached .
git add .
git commit -m "fixed untracked files"
or just use github desktop- GG