└─────────────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
(node:4922) UnhandledPromiseRejectionWarning: Error: Evaluation failed: ReferenceError: getQrPng is not defined
at puppeteer_evaluation_script:1:1
at ExecutionContext._evaluateInternal (/home/kali/imageToSticker/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:172:23)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async ExecutionContext.evaluate (/home/kali/imageToSticker/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:107:16)
(node:4922) 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:4922) [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.
i get this;
└─────────────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ (node:4922) UnhandledPromiseRejectionWarning: Error: Evaluation failed: ReferenceError: getQrPng is not defined at puppeteer_evaluation_script:1:1 at ExecutionContext._evaluateInternal (/home/kali/imageToSticker/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:172:23) at processTicksAndRejections (internal/process/task_queues.js:97:5) at async ExecutionContext.evaluate (/home/kali/imageToSticker/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:107:16) (node:4922) 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![13a](https://user-images.githubusercontent.com/48535413/109085788-a2d24680-770a-11eb-92fa-4e505b54a6c7.PNG)
--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:4922) [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.