Error: Can't resolve 'amplifyconfiguration.json' in build stage #13668
Labels
hosting
Issues tied to hosting category
pending-triage
Issue is pending triage
question
General question
Amplify CLI Version
12.10.1
Question
Hello,
I recently migrated my nextjs app from Amplify v5 to v6. Locally it builds fine but when building through Amplify, the json file isn't being generated.
Type error: Cannot find module '../components/amplifyconfiguration.json' or its corresponding type declarations.
The text was updated successfully, but these errors were encountered: