-
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
No Auth module registered in Amplify after Fix #6811 #6836
Comments
Yep, nothing changed - i am also still getting the error: 'GraphQLAPI - ensure credentials error No Auth module registered in Amplify' However when running locally in my Ionic project it works fine, but on an IOS device it doesnt! |
Thanks for reporting this @benjeater, we will be digging into this today and providing an update as soon as we can |
@sammartinez this issue is framework agnostic, |
I am having a similar issue in a React app. I tried using
which results in Then when I define a new
I am getting the
so not really sure what is wrong. FIX* |
@mattiLeBlanc Are you experiencing the same issue with We just pushed out a couple of fixes and I wasn't able to reproduce with my app using Auth, API, & Storage. The one difference is that I'm doing This is a high-priority bug for us, so I'm testing vanilla, Angular, CRA, & Next.js apps to try & determine the root cause. |
@ericclemmons I can confirm the bug is gone after updating amplify libraries. I'm using modular approach and that core package version fixes the problem: |
@mordka Thanks for the update! @benjeater Can you confirm it's fixed with yesterday's release as well? I want to make sure nothing's amiss between yours & @mordka's experience 🙏 |
Thanks guys. |
@ericclemmons I uninstalled all |
I got this error again when I build my NextJS project and exported the static code. |
So I am getting another error: Running "@aws-amplify/api": "version": "3.2.5 and "@aws-amplify/core" : "version": "3.5.5 |
@mattiLeBlanc Is your usage of Can you open a new issue with these details, sample code, etc. so we can look into it? |
My fix also involved updating packages. In package.json what was this:
updated to:
When I did |
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 |
Describe the bug
Fix #6811 has not fixed "No Auth module registered in Amplify" error
To Reproduce
Steps to reproduce the behavior:
node_modules
folder andpackage-lock.json
filenpm install
npm start
Expected behavior
Data should be received from endpoints
Code Snippet
App.js
.aws-exports.js
SignIn Function
getProjects.js (API call once logged in to populate home page)
custom-queries.js
package.json
Screenshots
Console before user logs in
Image
Console after user logs in and API calls are made
Image
What is Configured?
Configured Amplify Parts
All configured through Amplify CLI
Additional context
The problem occurred after reinstalling
node_modules
folder. I have another Mac that has the same project installed and that is still working after pulling the latest commit from Git.The text was updated successfully, but these errors were encountered: