Next.js+react 's SSR project was wrong in the build Times.

Project address: https://github.com/minooo/rea.
npm run dev project can run, but build Times wrong?

error message in build

D:\WebStorm\bin\runnerw.exe "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" run build --scripts-prepend-node-path=auto

> react-ssr@1.0.0 build E:\web\gitlab\gitlab\nextJsSSR
> rimraf .next && next build

> Using external babel configuration
> Location: "E:\web\gitlab\gitlab\nextJsSSR\.babelrc"
> Using "webpack" config function defined in next.config.js.

Process finished with exit code 0
Oct.14,2021
Menu