NEXT build returns "Cannot find module for page: /_document"
Unanswered
Caribbean Elaenia posted this in #help-forum
Caribbean ElaeniaOP
When I use 'next build' to generate a production build, I encounter an error as shown in the attached picture. You may see my directory structure as well.
2 Replies
@Caribbean Elaenia When I use 'next build' to generate a production build, I encounter an error as shown in the attached picture. You may see my directory structure as well.
Caribbean ElaeniaOP
Export encountered errors on following paths:/_error: /404
/_error: /500
/_not-found/page: /_not-found
/login/page: /login
/page: /