configuration has an unknown property 'outputPath'
See original GitHub issuewebpack-dev-server is telling me:
Invalid configuration object. webpack-dev-server has been initialised using a configuration object that does not match the API schema.
- configuration has an unknown property 'outputPath'. These properties are valid:
object { hot?, hotOnly?, lazy?, host?, filename?, publicPath?, port?, socket?, watchOptions?, headers?, clientLogLevel?, key?, cert?, ca?, pfx?, pfxPassphrase?, inline?, public?, https?, contentBase?, watchContentBase?, open?, features?, compress?, proxy?, historyApiF
allback?, staticOptions?, setup?, stats?, reporter?, noInfo?, quiet?, serverSideRender?, index?, log?, warn? }
webpack works fine and generates everything well.
These are my config files:
webpack and webpack-dev-server version: webpack: 1.10.x/2.x webpack-dev-server: 1.x/2.x
Please tell us about your environment: Windows 10
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Dev Server has been initialized using an options object that ...
Dev Server has been initialized using an options object that does not match the API schema. options has an unknown property 'publicPath'. These ......
Read more >[Solved] Getting Set Up not running - Questions - Babylon.js
Dev Server has been initialized using an options object that does not match the API schema. - options has an unknown property 'publicPath'....
Read more >Public Path - webpack
The publicPath configuration option can be quite useful in a variety of scenarios. It allows you to specify the base path for all...
Read more >[webpack-cli] invalid options object. dev server has ... - You.com
- options has an unknown property 'hotOnly'. These properties are valid: Solution: devServer|Webpack config is related to webpack-dev-server. This migration ...
Read more >Webpack has been initialized using a configuration object
configuration.module.rules[10] has an unknown property 'loaders'. These properties are valid: object { compiler?, dependency?, descriptionData?, enforce?, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

outputPathisn’t a valid option in webpack-dev-server, it doesn’t do anything. So you can removeoutputPathin thedevServerobject.@stevematdavies please try Stack Overflow or the webpack Gitter for support.