Closed ikoichi closed 2 years ago
Hi :wave:, thanks for opening! While we look into this...
If this issue is related to custom domains, be sure to check the custom domains troubleshooting guide to see if that helps. Also, there is a more general troubleshooting FAQ that may be helpful for other questions.
Lastly, please make sure you've specified the App ID
and Region
in the issue!
hi @ikoichi, can you give us more information about your app? Which version of Next.js are you using?
Hi @calavera I'm using Next.js 12
thanks for letting us know @ikoichi, that's what I suspected. We currently don't support that version, we're working on it.
You can keep track of our progress by clicking the "Subscribe" button in this issue 👉 #2343
I'm going to close this ticket so we don't keep duplicated ticket around.
@calavera do you have an official ETA for nextjs-12 support. would love to use aws for my app but vercel just has the better arguments atm.
some libs and files breake amlify framework detection for exemple next-pwa packege and all related config or files files that contain env variables and .githooks folder
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Before opening, please confirm:
App Id
d1sig4j0w4mc7r
Region
eu-west-1
Amplify Hosting feature
Build settings, Manual deploys
Describe the bug
I created an Amplify App using the CDK.
The Next.js app is inside a folder of the repository, called
web-app
.As the Framework was not detected, I manually forced the Framework to Next.js - SSR with these commands.
The Service Role is set, it was created by the CDK, and I added to it the additional Permissions as specified in the guide https://docs.aws.amazon.com/amplify/latest/userguide/server-side-rendering-amplify.html#ssr-IAM-permissions
I am still getting this error in the deploy phase:
Expected behavior
Deployment to succeded, and CloudFront, Lambdas, S3 resources are created.
Reproduction steps
Manually run a build.
Build Settings
Additional information
Thanks for your help!