Invalid Host header (webpack: Compiled successfully)


A little out of my league here… I’m trying to work with a vue.js/nw.js/webpack project even though I don’t really know those. I imported from GitHub ( ) to:

I just get “Invalid Host header”

The log says “Project is running at e[1me[34mhttp://localhost:8080/e[39me[22m
10:09 AM
webpack output is served from e[1me[34m/e[39me[22m” AND “webpack: Compiled successfully” and I can’t find any section in the code where I can change the localhost.



I’ve come across this before. Add --host --public $" to your start command making it "start": "webpack-dev-server --inline --hot --host --public $", and it’ll work.


That works! Thank you!