...
For more information, please refer to the relevant AWS Amplify docs. If you notice that the framework for your app is automatically set to ‘web’ instead of ‘Next.js - SSR', please scroll down to the ‘Common ‘Common errors' section of this document and follow the instructions for updating the framework manually.
...