-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
"Invalid Host/Origin header" errors in browser developer tools console. #3174
Comments
Fix here: webpack/webpack-dev-server#1608 , now we just have to wait for it to be merged and a new |
See also sockjs/sockjs-node#247 |
Should have been fixed with the latest release of webpack-dev-server v3.1.14 Please run |
@sodatea Hi, I use npm, is there any way to update the version of webpack-dev-server alone? |
@withparadox2 Just reinstall the deps, we didn't lock the version of webpack-dev-server so it will automatically resolve to the newest release. |
@sodatea Thanks, problem solved. |
Confirmed fixed, simply running |
@withparadox2 怎么解决的呀 |
@helloJincheng 我是把node_modules全部删除重新install |
pro-tested.This problem has been fixed with webpack-dev-server v3.1.14 |
Version
3.2.0
Reproduction link
N/A
Environment info
Steps to reproduce
I generated a new project with the
vue create ...
command, rannpm run serve
from within the new project, visited the URL output (i.e. http://localhost:8080), and opened the developer tools console in my browser (Firefox). At that point, I saw errors streaming to the console.What is expected?
No errors in the console.
What is actually happening?
I see the following errors in the developer tools console, sent over and over again:
The text was updated successfully, but these errors were encountered: