Skip to content

Type error occer #4

@tz01x

Description

@tz01x

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions