Skip to content

UnhandledPromiseRejectionWarning #1

@danieler1981

Description

@danieler1981

I want to start a local webserver with H2 support on a specific static directory but i got some error.

CLI:
easy-pm start ./httplocalserver.json

BUG:
Starting easy-pm-server...
(node:54005) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'match' of undefined
(node:54005) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

CONFIGURATION:

{
  "root": "./sites",
  "ssl": {
    "sites": {
      "webpageanalysislocalsites.com": "auto"
    }
  },
  "webhook": {  
  },
  "apps": [
    {
      "name": "localsites",
      "type":"static",
      "domains": ["webpageanalysislocalsites.com"],
      "max_memory_restart": "100M"
    }
  ]
}

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