-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Next.js 14] Cannot build static next.js app with next.config.js output
property
#3840
Comments
output
property.output
property
Hi @matamatanot thank you for opening this issue. I’m transferring it over to the Hosting repository for better assistance. |
updating the build image worked for me. |
I changed AWS Linux 2023 and got an error that
Edited: simply aws removing |
Even if you use AWS Linux 2023, the build will fail.
|
Before opening, please confirm:
JavaScript Framework
Next.js
Amplify APIs
Not applicable
Amplify Categories
Not applicable
Environment information
Local
Describe the bug
https://nextjs.org/docs/app/building-your-application/deploying/static-exports#version-history
I changed
next.config.js
for the above changes and pushed codes and the build failed.I got the above error even though I set
output
without settingtarget
.I assume this is due to the amplify adapter setting
target
.Expected behavior
No error.
Reproduction steps
Code Snippet
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: