Eslam Hammam
Eslam Hammam

Reputation: 11

Why does webpack not work offline without internet connection

I'm using webpack for my React projects local development. When I run npm start it throws this error:

throw er; // Unhandled 'error' event
Error: addMembership ENODEV

But when I go online the error is gone and it works fine.

Any help is appreciated because I will be working offline for a long time.

Upvotes: 1

Views: 1259

Answers (1)

Andrey Sitnik
Andrey Sitnik

Reputation: 979

It happens because webpack-dev-server uses bonjour even if it is not needed. here is discussion: https://github.com/webpack/webpack-dev-server/issues/979

Upvotes: 1

Related Questions