One CLI for webpack must be installed. These are recommended choi
ces, delivered as separate packages:
You need to install ‘webpack-cli’ to use webpack via CLI.
You can also install the CLI manually.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! firstname.lastname@example.org build:
webpack app.js dist/bundle.js
npm ERR! Exit status 1
npm ERR! Failed at the email@example.com 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! /Users/femi/.npm/_logs/2019-10-08T10_51_53_256Z-debug.log