NuxtN
Nuxt2y ago
Parsa

PreRendering Error when publishing nuxt3 app to github pages

As you can see, my application has problems when deploying to Github Pages. After the nuxt generate command is executed , It seems when prerendering the main page "/" , it gives error 500. https://github.com/ParsaJR/TodoList/actions/runs/8968554288/job/24628202071

I don't know exactly what the problem is and how to solve it...
I'm using suggested workflow by GitHub Actions for deploy nuxtjs : https://github.com/ParsaJR/TodoList/blob/main/.github/workflows/deploy.yml

This problem only exists with github pages. To deploy on github pages, the application must be build using nuxt generate command. There is no such problem in cloudflare pages and it is successfully deployed.
Screenshot_2024-05-06_153559.jpg
Was this page helpful?