-
Notifications
You must be signed in to change notification settings - Fork 12k
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
[webpack-dev-server] [HPM] WebSocket error: Error [ERR_STREAM_WRITE_AFTER_END]: write after end #23155
Comments
Can you please try to use a supported Node.Js version? Either version 14 or 16. |
Same problem.
|
Full deps list: "dependencies": {
"@angular/animations": "^13.3.8",
"@angular/cdk": "^13.2.6",
"@angular/common": "^13.3.8",
"@angular/compiler": "^13.3.8",
"@angular/core": "^13.3.8",
"@angular/forms": "^13.3.8",
"@angular/platform-browser": "^13.3.8",
"@angular/platform-browser-dynamic": "^13.3.8",
"@angular/router": "^13.3.8",
"@fullcalendar/core": "^5.11.0",
"@fullcalendar/daygrid": "^5.11.0",
"@fullcalendar/google-calendar": "^5.11.0",
"@fullcalendar/interaction": "^5.10.0",
"@fullcalendar/list": "^5.11.0",
"@fullcalendar/luxon": "^5.11.0",
"@fullcalendar/moment": "^5.11.0",
"@fullcalendar/moment-timezone": "^5.11.0",
"@fullcalendar/rrule": "^5.11.0",
"@fullcalendar/timegrid": "^5.11.0",
"@types/moment-timezone": "^0.5.30",
"big.js": "^6.1.1",
"chart.js": "^3.7.1",
"core-js": "^3.22.5",
"jquery": "^3.6.0",
"lodash.clonedeep": "^4.5.0",
"lodash.merge": "^4.6.2",
"luxon": "^1.12.1",
"lz-string": "^1.4.4",
"moment-jdateformatparser": "^1.2.1",
"moment-timezone": "^0.5.34",
"ngx-spinner": "^13.1.1",
"normalize.css": "^8.0.1",
"primeflex": "^3.2.0",
"primeicons": "^5.0.0",
"primeng": "^13.4.0",
"quill": "^1.3.7",
"rrule": "^2.6.9",
"rxjs": "^7.4.0",
"zone.js": "~0.11.5"
},
"devDependencies": {
"@angular-devkit/build-angular": "^13.3.5",
"@angular-eslint/builder": "^13.1.0",
"@angular-eslint/eslint-plugin": "^13.1.0",
"@angular-eslint/eslint-plugin-template": "^13.1.0",
"@angular-eslint/schematics": "^13.1.0",
"@angular-eslint/template-parser": "^13.1.0",
"@angular/cli": "^13.3.5",
"@angular/compiler-cli": "^13.3.8",
"@angular/language-service": "^13.3.4",
"@icon/foundation-icons": "^3.0.0-alpha.3",
"@types/big.js": "^6.1.2",
"@types/jasmine": "^4.0.3",
"@types/jquery": "^3.5.14",
"@types/node": "^17.0.34",
"@typescript-eslint/eslint-plugin": "^5.24.0",
"@typescript-eslint/eslint-plugin-tslint": "^5.24.0",
"@typescript-eslint/parser": "^5.24.0",
"chalk": "^5.0.1",
"copy-paste": "^1.3.0",
"del": "^6.1.0",
"eslint": "^8.15.0",
"glob": "^7.2.0",
"gulp": "^4.0.2",
"gulp-sass": "^5.1.0",
"gulp-shell": "^0.8.0",
"jasmine-core": "^4.1.1",
"jasmine-spec-reporter": "^7.0.0",
"karma": "~6.3.20",
"karma-chrome-launcher": "~3.1.1",
"karma-cli": "^2.0.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~5.0.1",
"karma-jasmine-html-reporter": "^1.7.0",
"lodash.mergewith": "^4.6.2",
"moment": "^2.29.3",
"node-sass-tilde-importer": "^1.0.2",
"path": "^0.12.7",
"properties-reader": "^2.2.0",
"protractor": "~7.0.0",
"readline-sync": "^1.4.10",
"request": "^2.88.2",
"sass": "^1.51.0",
"sass-flex-mixin": "^1.0.3",
"ts-node": "^10.7.0",
"tslib": "^2.4.0",
"tslint": "^6.1.0",
"typescript": "~4.6.4",
"what-input": "^5.2.11",
"xml2js": "^0.4.23"
} Not sure if this contributing to the issue, but our application uses websockets, too. Could that be interfering with dev server? |
This seems to be related to chimurai/http-proxy-middleware#476 which should have been solved in version Can you please run |
|
It appears that the issue hasn’t been fixed upstream. I suggest you open a new issue in https://github.com/chimurai/http-proxy-middleware with a minimal reproduction on how to reproduce. Closing as this isn’t actionable from our end. |
@alan-agius4 Thanks for looking into it. I'll do that. |
This could be related to chimurai/http-proxy-middleware#463 |
I have exactly same error message, but found out that Angular live reload ws path was changed from Any chance we can configure Angular live reload ws path? |
I was experiencing a similar problem, for some reason only on macOS. I was able to resolve it by setting my Angular proxy setting to the following: {
context: ["/api"],
target: target,
secure: false,
changeOrigin: true,
headers: { Connection: 'keep-alive' }
} Specifically the |
@tchunwei Your solution solved this for me. Thank you. @shut-empire-00 Thanks for your input. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes, the previous version in which this bug was not present was: 12.*
Description
Cannot run application in Chrome without getting webpack dev server errors. Makes it difficult to develop when needing to inspect.
🔬 Minimal Reproduction
Upgrade from 12.* to 13.*.
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
Chromium Version 101.0.4951.64 (Official Build) snap (64-bit)
The text was updated successfully, but these errors were encountered: