LeanneStoDomingo / recurtion

A bot that adds recurring tasks to Notion using the official API
https://recurtion.notion.site/Recurtion-Instructions-237146fda1174a9eb6d21e5724a668b4
MIT License
3 stars 1 forks source link

Critical error - won't run --- Cannot set property 'dtstart' of null #5

Open jeff9315 opened 2 years ago

jeff9315 commented 2 years ago

Polling... Polling... (node:801) UnhandledPromiseRejectionWarning: TypeError: Cannot set property 'dtstart' of null at findNextDueDate (/home/runner/recurtion/index.js:70:21) at /home/runner/recurtion/index.js:138:22 at Array.forEach () at Timeout._onTimeout (/home/runner/recurtion/index.js:137:11) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) (node:801) 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: 1) (node:801) [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. (node:801) UnhandledPromiseRejectionWarning: TypeError: Cannot set property 'dtstart' of null at findNextDueDate (/home/runner/recurtion/index.js:70:21) at /home/runner/recurtion/index.js:138:22 at Array.forEach () at Timeout._onTimeout (/home/runner/recurtion/index.js:137:11) at processTicksAndRejections (internal/process/task_queues.js:97:5) (node:801) 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: 2) (node:801) UnhandledPromiseRejectionWarning: TypeError: Cannot set property 'dtstart' of null at findNextDueDate (/home/runner/recurtion/index.js:70:21) at /home/runner/recurtion/index.js:138:22 at Array.forEach () at Timeout._onTimeout (/home/runner/recurtion/index.js:137:11) at processTicksAndRejections (internal/process/task_queues.js:97:5) (node:801) 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: 3) (node:801) UnhandledPromiseRejectionWarning: TypeError: Cannot set property 'dtstart' of null at findNextDueDate (/home/runner/recurtion/index.js:70:21) at /home/runner/recurtion/index.js:138:22 at Array.forEach () at Timeout._onTimeout (/home/runner/recurtion/index.js:137:11) at processTicksAndRejections (internal/process/task_queues.js:97:5) (node:801) 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: 4) Polling... Polling... Polling... Polling... Polling..