Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

npm run dev Missing argument values

Tags:

node.js

npm run dev error Missing argument values: config-name, context, entry, module-bind, module-bind-post, module-bind-pre, output-path, output-filename, output-chunk-filename, output-source-map-filename, output-public-path, output-jsonp-function, output-library, output-library-target, records-input-path, records-output-path, records-path, define, target, watch-aggregate-timeout, devtool, resolve-alias, resolve-extensions, resolve-loader-alias, optimize-max-chunks, optimize-min-chunk-size, prefetch, provide, plugin, open-page

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] dev: webpack-dev-server --inline --progress --config build/webpack.dev.conf.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] dev 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/wangweiyi/.npm/_logs/2018-01-09T01_55_19_207Z-debug.log

like image 505
V.e Avatar asked Dec 10 '25 16:12

V.e


1 Answers

I believe you're encountering the following "trending" issue:

https://github.com/vuejs-templates/webpack/issues/1229

Try downgrading webpack-dev-server to v2.9.7 as suggested to resolve the issue.

(Note: the log file won't show much, and the upvoted comment above isn't helpful at all. Unfortunately this seems to be the prevailing climate on SO these days, and why the site will devolve into complete uselessness shortly. Perhaps we can bring back Experts Exchange.)

like image 196
SexxLuthor Avatar answered Dec 13 '25 08:12

SexxLuthor



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!