Issue with npm run build
Unanswered
censmart posted this in #help-forum
censmartOP
I ran into this when I run npm run build
Error occurred prerendering page "/auth/sign-up". Read more: https://nextjs.org/docs/messages/prerender-error
✓ Generating static pages (10/10)
/auth/sign-up/page: /auth/sign-up
error: script "build" exited with code 1
Please how do I solve this issue
Error occurred prerendering page "/auth/sign-up". Read more: https://nextjs.org/docs/messages/prerender-error
✓ Generating static pages (10/10)
Export encountered errors on following paths:/auth/login/page: /auth/login
/auth/sign-up/page: /auth/sign-up
error: script "build" exited with code 1
Please how do I solve this issue
1 Reply
Common House-Martin
provide more context, what does your file tree look like? what's inside the pages?