Skip to content
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

Type error occer #4

Open
tz01x opened this issue Mar 2, 2021 · 0 comments
Open

Type error occer #4

tz01x opened this issue Mar 2, 2021 · 0 comments

Comments

@tz01x
Copy link

tz01x commented Mar 2, 2021

app.use(noopServiceWorkerMiddleware());

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("/"));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant