Skip to content

nextjs export error #1170

Answered by 0xWerz
nasalone asked this question in Q&A
Jul 20, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Seems you are using next/images. But next/images don't work with export static pages. For static pages you can use this image-optimizer: https://github.com/cyrilwanner/next-optimized-images

also you're using an old version of the action, update it with replacing uses: JamesIves/github-pages-deploy-action@3.5.9 with JamesIves/github-pages-deploy-action@v4

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nasalone
Comment options

Answer selected by nasalone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants