create-react-app-multiple-entry-points icon indicating copy to clipboard operation
create-react-app-multiple-entry-points copied to clipboard

Type error occer

Open tz01x opened this issue 4 years ago • 0 comments

https://github.com/danvc/create-react-app-multiple-entry-points/blob/41677237bfabeea01e4baac44a347aecee7c5fd5/config/webpackDevServer.config.js#L107

an error occer when i run npm start

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string

Fix is

this line should be app.use(noopServiceWorkerMiddleware("/"));

tz01x avatar Mar 02 '21 01:03 tz01x