Skip to content

Commit

Permalink
docs: Add url to docs site for version upgrades (aws-amplify#8083)
Browse files Browse the repository at this point in the history
* docs: Add url to docs site for version upgrades
  • Loading branch information
manueliglesias authored Apr 15, 2021
1 parent a15b8f0 commit a664adb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/1.bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ body:
value: |
For reference, the current versions of the Amplify JS packages are listed below. Please verify your issue against the latest version(s) of the relevant package(s):
You can find information in our docs site regarding [Upgrading Amplify packages](https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js).
<details>
<summary>Click to expand version list</summary>
Expand Down Expand Up @@ -123,7 +125,7 @@ body:
description: |
Please run the following command inside your project and copy/paste the output below:
```
npx envinfo --system --binaries --browsers --npmPackages --npmGlobalPackages
npx envinfo --system --binaries --browsers --npmPackages --duplicates --npmGlobalPackages
```
value: |
<details>
Expand Down
14 changes: 9 additions & 5 deletions packages/auth/src/Errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,21 @@ export const authErrorMessages: AuthErrorMessages = {
1. Make sure you're passing the awsconfig object to Amplify.configure() in your app's entry point
See https://aws-amplify.github.io/docs/js/authentication#configure-your-app for more information
2. There might be multiple conflicting versions of aws-amplify or amplify packages in your node_modules.
Try deleting your node_modules folder and reinstalling the dependencies with \`yarn install\`
2. There might be multiple conflicting versions of amplify packages in your node_modules.
Refer to our docs site for help upgrading Amplify packages (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js)
`,
},
missingAuthConfig: {
message: AuthErrorStrings.DEFAULT_MSG,
log: `
Error: Amplify has not been configured correctly.
The configuration object is missing required auth properties.
Did you run \`amplify push\` after adding auth via \`amplify add auth\`?
See https://aws-amplify.github.io/docs/js/authentication#amplify-project-setup for more information
The configuration object is missing required auth properties.
This error is typically caused by one of the following scenarios:
1. Did you run \`amplify push\` after adding auth via \`amplify add auth\`?
See https://aws-amplify.github.io/docs/js/authentication#amplify-project-setup for more information
2. This could also be caused by multiple conflicting versions of amplify packages, see (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js) for help upgrading Amplify packages.
`,
},
emptyUsername: {
Expand Down

0 comments on commit a664adb

Please sign in to comment.