$ npm run build
Failed to compile.
HookWebpackError: File C:\Users\xxx\Projects\next-favicon-reproduction\.next\server\app\favicon.ico\route.js does not exist.
...
...
...
> Build failed because of webpack errors
위와 같은 에러가 난다면 favicon 파일을 삭제 후 build 해보세요!
레퍼런스: https://github.com/vercel/next.js/issues/48603