Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add url to docs site for version upgrades #8083

Merged
merged 8 commits into from
Apr 15, 2021
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).
manueliglesias marked this conversation as resolved.
Show resolved Hide resolved

<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