(node:20688) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'get' of undefined
at removeRequestListener (C:\Users\andy\projects\JS-Puppeteer\node_modules\puppeteer-page-proxy\src\core\proxy.js:48:38)
at proxyPerPage (C:\Users\andy\projects\JS-Puppeteer\node_modules\puppeteer-page-proxy\src\core\proxy.js:80:5)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async useProxy (C:\Users\andy\projects\JS-Puppeteer\node_modules\puppeteer-page-proxy\src\core\proxy.js:94:9)
at async C:\Users\andy\projects\JS-Puppeteer\tests\useProxy.js:9:5
(node:20688) 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:20688) [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.
system: win10 node: 12.21.0 puppeteer: 1.14.0 puppeteer-page-proxy: 1.2.8
when I run such code, I get some error as below
(node:20688) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'get' of undefined at removeRequestListener (C:\Users\andy\projects\JS-Puppeteer\node_modules\puppeteer-page-proxy\src\core\proxy.js:48:38) at proxyPerPage (C:\Users\andy\projects\JS-Puppeteer\node_modules\puppeteer-page-proxy\src\core\proxy.js:80:5) at processTicksAndRejections (internal/process/task_queues.js:97:5) at async useProxy (C:\Users\andy\projects\JS-Puppeteer\node_modules\puppeteer-page-proxy\src\core\proxy.js:94:9) at async C:\Users\andy\projects\JS-Puppeteer\tests\useProxy.js:9:5 (node:20688) 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:20688) [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.