Skip to content

Commit 6cd7581

Browse files
authored
fix(data): update README to include troubleshooting CLI updates (#435)
1 parent 0f57800 commit 6cd7581

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Readme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ Before pushing code or sending a pull request, do the following:
4646
- You can use `eslint` to fix some of the lint errors. To use it, go to the package that has errors and run `lint-fix`
4747
- If there are any remaining lint errors, resolve them manually. Linting your code is a best practice that ensures good code quality so it's important that you don't skip this step.
4848

49+
## Troubleshooting
50+
Errors sometimes occur when a different version of `amplify-cli-core` is installed, typically during the time the CLI is updated. To resolve the error, execute the following command from the top-level directory:
51+
52+
`rm -rf yarn.lock && yarn clean && yarn setup-dev`
53+
4954
## Contributing
5055

5156
See the contribution guideline. https://github.com/aws-amplify/amplify-codegen/blob/master/CONTRIBUTING.md

0 commit comments

Comments
 (0)