Open
Description
After npm run build getting this error:
Step 22/31 : RUN npm run compile
---> Running in bc2167a7fb37
> [email protected] compile /opt/get-me-a-date
> npm run clean && npm run webpack
> [email protected] clean /opt/get-me-a-date
> rm -rf coverage && rm -rf tmp/web
> [email protected] webpack /opt/get-me-a-date
> webpack -p
/opt/get-me-a-date/node_modules/webpack/bin/webpack.js:348
throw err;
^
TypeError: Cannot read property 'emit' of undefined
at CopyPlugin.apply (/opt/get-me-a-date/node_modules/copy-webpack-plugin/dist/index.js:55:20)
at Compiler.apply (/opt/get-me-a-date/node_modules/tapable/lib/Tapable.js:375:16)
at webpack (/opt/get-me-a-date/node_modules/webpack/lib/webpack.js:33:19)
at processOptions (/opt/get-me-a-date/node_modules/webpack/bin/webpack.js:335:15)
at yargs.parse (/opt/get-me-a-date/node_modules/webpack/bin/webpack.js:396:2)
at Object.Yargs.self.parse (/opt/get-me-a-date/node_modules/webpack/node_modules/yargs/yargs.js:533:18)
at Object.<anonymous> (/opt/get-me-a-date/node_modules/webpack/bin/webpack.js:152:7)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] webpack: `webpack -p`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] webpack 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! /opt/get-me-a-date/.npm/_logs/2019-06-23T08_25_33_705Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] compile: `npm run clean && npm run webpack`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] compile 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! /opt/get-me-a-date/.npm/_logs/2019-06-23T08_25_33_730Z-debug.log
Metadata
Assignees
Labels
No labels