yarn run ssr:build --modern
yarn run v1.12.3
$ vue-cli-service ssr:build --modern
[4:51:33 PM] Building legacy bundle...
(node:38969) UnhandledPromiseRejectionWarning: TypeError: items is not iterable
at chainConfig.plugin.tap.args (/xxx/node_modules/@uvue/vue-cli-plugin-ssr/webpack/ssr.js:54:24)
at Object.tap (/xxx/node_modules/webpack-chain/src/Plugin.js:24:24)
at module.exports (/xxx/node_modules/@uvue/vue-cli-plugin-ssr/webpack/ssr.js:52:30)
at Promise (/xxx/node_modules/@uvue/vue-cli-plugin-ssr/commands/build.js:59:26)
at new Promise (<anonymous>)
at build (/xxx/node_modules/@uvue/vue-cli-plugin-ssr/commands/build.js:51:10)
at /xxx/node_modules/@uvue/vue-cli-plugin-ssr/commands/build.js:37:15
(node:38969) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:38969) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
✨ Done in 2.31s.
got following error when building:
server.config.js: