nextjs export error
#1170
-
I'm having a problem while deploying a nextjs website on the export stage. with the following error:
my workflow file: https://github.com/nasalone/personal-website/blob/main/.github/workflows/deploy.yml |
Beta Was this translation helpful? Give feedback.
Answered by
0xWerz
Jul 20, 2022
Replies: 1 comment 1 reply
-
Seems you are using also you're using an old version of the action, update it with replacing |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
nasalone
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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-imagesalso you're using an old version of the action, update it with replacing
uses: JamesIves/[email protected]
withJamesIves/github-pages-deploy-action@v4