Every time I attempt to compile the latest version of my Next.js project, it throws a build error with the following log. Interestingly, when I execute npm run dev
and view the project on the local port, everything functions perfectly.
Have any insights?