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

Potentially conflicting package versions #3299

Closed
ajhool opened this issue May 17, 2019 · 2 comments
Closed

Potentially conflicting package versions #3299

ajhool opened this issue May 17, 2019 · 2 comments

Comments

@ajhool
Copy link

ajhool commented May 17, 2019

Describe the bug
AFAIK, issues start to arise when multiple different versions of amplify packages are installed on the same machine. However, a simple install of yarn add aws-ampllify aws-ampify-react results in multiple versions of multiple packages being installed.

To Reproduce
Steps to reproduce the behavior:

  1. In a clean project, yarn add aws-amplify aws-amplify-react
  2. yarn list --pattern amplify
My output for 2.
├─ @aws-amplify/[email protected]
│  └─ @aws-amplify/[email protected]
├─ @aws-amplify/[email protected]
│  └─ @aws-amplify/[email protected]
├─ @aws-amplify/[email protected]
│  └─ @aws-amplify/[email protected]
├─ @aws-amplify/[email protected]
│  └─ @aws-amplify/[email protected]
├─ @aws-amplify/[email protected]
├─ @aws-amplify/[email protected]
│  └─ @aws-amplify/[email protected]
├─ @aws-amplify/[email protected]
│  └─ @aws-amplify/[email protected]
├─ @aws-amplify/[email protected]
│  └─ @aws-amplify/[email protected]
├─ @aws-amplify/[email protected]
├─ @aws-amplify/[email protected]
│  └─ @aws-amplify/[email protected]
├─ [email protected]
└─ [email protected]
   ├─ @aws-amplify/[email protected]
   ├─ @aws-amplify/[email protected]
   └─ @aws-amplify/[email protected]

I have had auth issues in the past from multiple packages. I currently see an Analytics error of: Unhandled Rejection: (Error): Analytics has not been configured , but I have not confirmed that this is due to package conflicts

Expected behavior
I believe that all of the individual packages should depend on the latest versions of the other packages at the point of each release.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):
Mac osx
[email protected]
[email protected]

Additional context

This might be related to #3096

Sample code

You can turn on the debug mode to provide more info for us by setting window.LOG_LEVEL = 'DEBUG'; in your app.

@ajhool
Copy link
Author

ajhool commented May 17, 2019

Nevermind, my environment was contaminated with separately installed modular components ( eg. @aws-amplify/auth )

@ajhool ajhool closed this as completed May 17, 2019
@github-actions
Copy link

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels or Discussions for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant