You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting this error "!!! CustomerError: It looks like you are attempting to deploy a Next.js SSR app, but your app's framework looks wrong. Please update your app's framework to 'Next.js - SSR' to ensure that your app is deployed correctly." any support appreciated. thanks
#3877
Closed
4 tasks done
azhar-rayn opened this issue
Dec 22, 2023
· 8 comments
I have removed any sensitive information from my code snippets and submission.
App Id
NEW_APP
AWS Region
ap-southeast-1
Amplify Hosting feature
Monorepo
Question
My main branch is configured and app is running fine, but the sub domain that I am trying to serve from dev branch is failing with error "!!! CustomerError: It looks like you are attempting to deploy a Next.js SSR app, but your app's framework looks wrong. Please update your app's framework to 'Next.js - SSR' to ensure that your app is deployed correctly."
Any feedback/support is really appreciated
The text was updated successfully, but these errors were encountered:
In my case, the issue was caused when the framework changed to Web due to the content of the code when I switched from the develop branch to the main branch.
I resolved it with the following command. aws amplify update-branch --app-id {APP_ID} --branch-name {BRANCH_NAME} --framework 'Next.js - SSR'
In my case, the issue was caused when the framework changed to Web due to the content of the code when I switched from the develop branch to the main branch.
for me worked only when I added the region like aws amplify update-branch --app-id d1rudbio41kj5x --branch-name main --framework 'Next.js - SSR' --region ap-southeast-1
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
Before opening, please confirm:
App Id
NEW_APP
AWS Region
ap-southeast-1
Amplify Hosting feature
Monorepo
Question
My main branch is configured and app is running fine, but the sub domain that I am trying to serve from dev branch is failing with error "!!! CustomerError: It looks like you are attempting to deploy a Next.js SSR app, but your app's framework looks wrong. Please update your app's framework to 'Next.js - SSR' to ensure that your app is deployed correctly."
Any feedback/support is really appreciated
The text was updated successfully, but these errors were encountered: