alan@alan-s145:~/projects/cachetop/vue/boilerplate/template$ npm run build
>[email protected] build /home/alan/projects/cachetop/vue/boilerplate/template
>node build/build.js
/home/alan/projects/cachetop/vue/boilerplate/template/node_modules/webpack/lib/webpack.js:189
throw new RemovedPluginError(errorMessage);
^
Error: webpack.optimize.CommonsChunkPlugin has been removed, please use config.optimization.splitChunks instead.
at Object.get [as CommonsChunkPlugin] (/home/alan/projects/cachetop/vue/boilerplate/template/node_modules/webpack/lib/webpack.js:189:10)
at Object.<anonymous> (/home/alan/projects/cachetop/vue/boilerplate/template/build/webpack.prod.conf.js:82:26)
at Module._compile (internal/modules/cjs/loader.js:945:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:962:10)
at Module.load (internal/modules/cjs/loader.js:798:32)
at Function.Module._load (internal/modules/cjs/loader.js:711:12)
at Module.require (internal/modules/cjs/loader.js:838:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/home/alan/projects/cachetop/vue/boilerplate/template/build/build.js:12:23)
at Module._compile (internal/modules/cjs/loader.js:945:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:962:10)
at Module.load (internal/modules/cjs/loader.js:798:32)
at Function.Module._load (internal/modules/cjs/loader.js:711:12)
at Function.Module.runMain (internal/modules/cjs/loader.js:1014:10)
at internal/main/run_main_module.js:17:11
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `node build/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/alan/.npm/_logs/2020-02-01T12_16_28_792Z-debug.log