-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Labels
help wantedneeds: investigationRequires some digging to determine if action is neededRequires some digging to determine if action is neededseverity3: brokentype: bug/fix
Description
Bug Report or Feature Request (mark with an x
)
- [x] bug report
- [ ] feature request
Versions.
Any latest (using 1.1.3
and 1.3.0-rc.3
)
@angular/cli: 1.3.0-rc.3
node: 8.1.2
os: linux x64
@angular/animations: 4.2.6
@angular/cdk: 2.0.0-beta.8
@angular/common: 4.2.6
@angular/compiler: 4.2.6
@angular/core: 4.2.6
@angular/forms: 4.2.6
@angular/http: 4.2.6
@angular/material: 2.0.0-beta.7
@angular/platform-browser: 4.2.6
@angular/platform-browser-dynamic: 4.2.6
@angular/router: 4.2.6
@angular/cli: 1.3.0-rc.3
@angular/compiler-cli: 4.2.6
@angular/language-service: 4.2.6
Repro steps.
- Have a project with a big
vendor.bundle.js
ormain.bundle.js
. - Use
ng serve
- Connect with another LAN device or throttle network connection from
localhost
The log given by the failure.
- If using a LAN device, request fails with the error
net::ERR_CONTENT_LENGTH_MISMATCH
on Chrome console after some 5-6 seconds and downloading 5 MB of the file (the timing and the size are not consistent). - If using
localhost
, request fails with the same error after 80 seconds and 5 MB (the timing and the size are not consistent)
I was trying to look if it was something on part of the webpack-dev-server
, or consequently, either express
or http
but couldn't find too much of the culprit.
Desired functionality.
I am able to work on localhost no problems at all. But using any other device is impossible since the file request fails.
lixiaocong, limpep, efritze, 0la0, mtraynham and 12 more
Metadata
Metadata
Assignees
Labels
help wantedneeds: investigationRequires some digging to determine if action is neededRequires some digging to determine if action is neededseverity3: brokentype: bug/fix