Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#error "npm run webpack-test" #91

Open
ghost opened this issue Sep 8, 2017 · 0 comments
Open

#error "npm run webpack-test" #91

ghost opened this issue Sep 8, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 8, 2017

When i run "npm run webpack-test" it return

Error: 'output.filename' is required, either in config file or as --output-filename
    at processOptions (/home/hoangnguyenl/ResearchIT/Electron/angular-electron/node_modules/webpack/bin/convert-argv.js:492:11)
    at processConfiguredOptions (/home/hoangnguyenl/ResearchIT/Electron/angular-electron/node_modules/webpack/bin/convert-argv.js:141:4)
    at module.exports (/home/hoangnguyenl/ResearchIT/Electron/angular-electron/node_modules/webpack/bin/convert-argv.js:117:10)
    at Object.<anonymous> (/home/hoangnguyenl/ResearchIT/Electron/angular-electron/node_modules/webpack/bin/webpack.js:153:40)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Function.Module.runMain (module.js:605:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! angular2-electron@0.0.0 webpack-test: `webpack --config webpack.test.js --progress --profile`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular2-electron@0.0.0 webpack-test 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/hoangnguyenl/.npm/_logs/2017-09-08T02_14_38_890Z-debug.log

What should I do to configure webpack.test.js file correctly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants