-
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
Just update aws-amplify to newest version - no user pool error #3287
Comments
@rpostulart Can you provide a little more information on which framework this is happening along with the versions in your package.json? |
Of course. It's on react native.
This was always working, but now I have to configure each Amplify services manually. Like: This happend after updating aws-amplify and cli package, while I didn't change the index.js and app.js files. |
Just get the same now with storage:
and then the error is gone. |
Hey @rpostulart, can you try to delete your node_modules and rerun If this does not help, did you use the Amplify CLI to set up Auth as mentioned here? If all of the categories you mention above (Auth, Analytics, API, Storage) were set up using the Amplify CLI, you should only have to include Amplify.configure(config), otherwise configuration can be instantiated in multiple places. If any of these categories were not set up in the Amplify CLI, you will need to provide manual configuration to the .configure method exemplified here. |
Of course I had: Amplify.configure() But after the update that was not werking anymore |
@rpostulart, I mentioned a possible fix, then asked about what you set up with the Amplify CLI. Please re-read my comment above and respond appropriately. |
Sorry I am on a location with bad internet connectivity and was in a rush, I will check this next week and let you know! Thx |
@jordanranz I removed node_modules and reinstalled it with no success. Still same issue!
|
Any other ideas? I also get this error now:
with this code:
|
Hi @rpostulart Can you verify that you don't have multiple versions of Amplify packages in your project? yarn list --pattern "amplify" or npm list | grep "amplify" |
I see this list
|
i see you have multiple versions of
Looks like you need to upgrade to |
I upgraded push notifications and uninstalled @aws-amplify/[email protected] but the error is the same.
|
@rpostulart can you completely delete your node modules and do |
@rpostulart I'm closing this issue due to inactivity. If the response from @manueliglesias isn't helpful, feel free to repost. |
+1! |
+1 |
yep this is happening on IOS with Ionic - but running locally in angular is absolutely fine! |
+1 |
+1, why close this issue if error doesn't has a solution? |
I'm not sure what the root cause is, but I got the same from updating and it was fixed by deleting the node modules as mentioned above, rerunning npm installl and now it's fine |
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 |
I just updated the aws-amplify package to the the newest version and now receive this error
Before the set up was working
The text was updated successfully, but these errors were encountered: