Skip to content

webpack-dev-server (client) crashes when the backend server restarts on Mac #430

@tschaffter

Description

@tschaffter

This issue does does not happen when I developed on ubuntu. On Mac, the error is:

    Entrypoint undefined = ../client/app.html
ℹ 「wdm」: Failed to compile.
[HPM] Error occurred while trying to proxy request /primus?access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1Y2I3YWNlYTJkNzE4NjE0ZDgxYmI5N2YiLCJyb2xlIjoiYWRtaW4iLCJpYXQiOjE1NjY0NDI4OTcsImV4cCI6MTU2NjQ2NDQ5N30.v5SzL-rtwoAMAIal-ou-E7km1dgJW4qOEXfsmVsQg60 from localhost to http://0.0.0.0:9000 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)
Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start:client: `webpack-dev-server --config webpack.dev.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start:client script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/tschaffter/.npm/_logs/2019-08-22T04_57_08_846Z-debug.log
Thomass-MacBook-Pro:PHCCollaborationPortal tschaffter$ sudo -E npm run start:client

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions