-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Require Cycle and Async Storage warning #6031
Comments
@ThatMate investigating the require cycles. Regarding AsyncStorage migration to the community package we are working on the change. Will have a PR for that in the near future. |
I'm having the same issues with aws-amplify@3.0.17 and aws-amplify-react-native@4.2.0. Fresh install of a react native project. Are these warnings going to affect my project in the longterm? |
Hello, I'm having the same issue as well with aws-amplify@3.0.18 |
Any updates? |
same issue +1 |
I have been running into the same issue. I hope a fix for this is generated soon. Please keep us updated. |
Hi Guys! same issue here. Anyone has some news? Thanks! |
Hello! Same issue. I replaced the import for AsyncStorage in node_modules, but still has an issue with Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle:
|
same issue😓 |
Same issue here |
same issue |
Well, these are two different problems, so keep a better track of progress and conversations i think should be 2 issues. In my case,
import Auth from '@aws-amplify/auth';
import Amplify from '@aws-amplify/core'; obviously i stopped getting it, because it seems the cycles are in PubSub/Datastore/others.. |
same issue |
any fix? |
any update? |
Unfortunately I also have the same issue on my app (React Native w. Amplify). I don't know if it happens to the others as well, but after that, the application runs various instances of |
I just go through the source code the issue is AsyncStorage had been imported from |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
No bot, the require cycles still need need to be dealt with. |
Long story short: Long story long 🙄: We use patch-package in our RN project.
Step 3 in details:
Disclamer: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
+1 same issue |
+1 |
+1 same |
2 similar comments
+1 same |
+1 same |
+1 same issue |
All, I wanted to provide an update here. We are going to be migrating to the Community version of Async Storage in the coming weeks. This will be a breaking change and a major version bump for us, so we are working on the logistics of this prior to getting it out to you folks. Just wanted to state, we hear you and will provide more of an update once we have something. Thanks! |
Thanks for the update! |
Hi All,
We plan to release the this change in our next major version tomorrow. |
Hi All, Please take a look at the installation and setup instructions here Closing out this issue now since the fix has been released. |
I believe this does not fix the require cycles issue posted initially (there were 2 issues reported together originally) I've tested with 4.0.3 and still get the following:
|
+1 Same here.... Require Cycle issue has not been fixed! Please reopen the issue.
|
@plus- and @thomasyim02 I created an issue for what you are calling out for Require Cycles. Can you please place any examples (similar to your code snippets above) in the new issue? Thanks ahead of time! |
Require Cycles still exist |
Thanks for this feedback @themse I created a separate issue for this above. Can you please add your data to this issue? |
Require Cycles still exist |
same issue "aws-amplify": "4.2.11", Require Cycles still exist |
same issue +1 "aws-amplify": "5.0.1", |
I am using
aws-amplify@3.0.16
which is the latest at this point. I am using it for my React Native project. I am seeing two warnings:AND
I see a PR (#5372) merged a few days ago, but it does not seem to fix the issue.
The text was updated successfully, but these errors were encountered: