When Vue starts the project yarn serve or NPM run dev
If an error message appears when Vue starts the project: validationerror: webpack dev server invalid options
cause of the problem:
the “proxy” object value used to solve the cross domain problem in the configuration file is empty
Solution:
find config.js Modify the contents of the document( webpack.config.js Or vue.config.js )
find devserver and comment out the proxy in it
Read More:
- Validation error: compression plug invalid options
- NPM run dev error: cannot find module ‘webpack cli / bin / config yargs‘
- ERROR Invalid options in vue.config.js: “plugins“ is not allowed
- Vue executes NPM run Dev and reports an error: missing script: dev
- Schema validation error in conig/config.xml. See the log for detais, Schema validation can be……
- Webpack Upgrade Error: webpack.NamedModulesPlugin is not a constructor
- NPX webpack cannot find module’html webpack plugin’a bug causes headache
- ORA-04098: trigger ‘SYS.GGS_DDL_TRIGGER_BEFORE’ is invalid and failed re-validation
- Run webpack error: Error: Cannot find module’webpack/lib/node/NodeTemplatePlugin’
- Has HTML webpack plugin been installed, or error: cannot find module ‘HTML webpack plugin’
- About WLW (Windows Live Writer): “unable to connect to your log service: invalid server response” solution
- gateway Internal Server Error 500 Invalid host: lb://xxxxxx
- Bcdboot command line parameter options
- Error server returns invalid timezone. Need to set ‘servertimezone’ property
- Cannot find module ‘webpack cli / bin / config yargs‘
- Solved – problem cannot find module ‘webpack / bin / config yargs’
- ImportError: cannot import name ‘cross_validation’ from ‘sklearn’
- Inline JavaScript is not enabled. Is it set in your options?
- Idea: server returns invalid timezone. Need to set ‘servertimezone’ property
- Error: Cannot find module’webpack/bin/config-yargs’ solution