Skip to content

lite-server generating three Uncaught (in promise) errors after each reload #208

@aarona

Description

@aarona

Console log errors whenever lite-server reloads.

The server runs fine but after a few seconds the same console error occurs three times:

{ "message": "A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received" }

Screenshot from 2022-06-13 21-35-54

Bug repro steps

Github repo example: https://github.com/aarona/lite-server-bug-example

Environment

  • lite-server version: 2.6.1
  • nodejs version: 17.0.39
  • npm version: 8.12.1
  • OS type/version: Ubuntu 20.04.4 LTS

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