Open robert-j-webb opened 1 month ago
Hi @robert-j-webb 👋 , thanks for reaching out. We currently do not support switching an app's framework or platform from the Amplify console. You can update the platform and framework field via these commands:
aws amplify update-app --app-id <APP_ID> --platform WEB --region <REGION>
aws amplify update-branch --app-id <APP_ID> --branch-name <BRANCH_NAME> --framework <FRAMEWORK> --region <REGION>
Additionally, the update-app
and update-branch
APIs are related to Amplify Hosting and are identical across both Gen 1 and Gen 2 apps.
I am going to mark this as a feature request.
Thanks, that works great. Appreciate it!.
Environment information
Describe the bug
I see Next.JS -SSR as the framework:
I don't know how to change this. I have a docusaurus site, which is a static site. Whenever I try to deploy, it tries to find next files to run.
I know I can change the platform with
But framework isn't listed in this. Additionally, I have a gen 2 app and that's a gen 1 cli command.
Reproduction steps
I believe the issue is if you have 2 websites in the same folder, but it's not a mono repo, like so
But I would have to test that