Skip to content

Unhandled Promise Rejection Warning in tahoma.js #48

@hmwelsch

Description

@hmwelsch

I get the following error message which seems to be a message for nikkow?

(node:32106) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'finished' of undefined
at /home/pi/.node-red/node_modules/node-red-contrib-tahoma/dist/nodes/tahoma.js:105:42
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:32106) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 448)
(node:32106) [DEP0018] 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.

Setup:

  • Version of node-red: v1.1.3
  • Version of node-red-contrib-tahoma: v2.0.1
  • Version of node (node -v): v12.22.1
  • Version of npm (npm -v): 6.14.12
  • Where is node-red installed (Raspberry, macOS...)? Raspberry
  • How is node-red installed (Docker, via npm)? npm

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