DEV Community

loading...

Discussion on: ⚡️ 5 Minute Tutorial: Deploying a NextJS app with AWS Amplify Hosting

Collapse
ywroh profile image
ywroh

Thanks for the good info. As you told me, I deployed the nextjs app with amplify, but an error occurred in the build commands. To fix the error, I changed the pre build commands to yarn install --frozen-lockfile and the build commands to yarn build, and it deployed well without any errors.