son-of-anton
son-of-anton copied to clipboard
Issue trying to run it on Windows
Hello,
I did follow the readme, but I couldn't get to run it properly.
I got the error message below when I tried to read the QR code:
node actions/zap-efron.js 'Família' 'Bom dia (esta é uma mensagem automatizada)' (node:10048) UnhandledPromiseRejectionWarning: TimeoutError: Navigation timeout of 30000 ms exceeded at Promise.then (C:\Users\edupo\apps\zap-bom-dia\node_modules\puppeteer\lib\LifecycleWatcher.js:142:21) -- ASYNC -- at Frame.<anonymous> (C:\Users\edupo\apps\zap-bom-dia\node_modules\puppeteer\lib\helper.js:111:15) at Page.waitForNavigation (C:\Users\edupo\apps\zap-bom-dia\node_modules\puppeteer\lib\Page.js:692:49) at Page.<anonymous> (C:\Users\edupo\apps\zap-bom-dia\node_modules\puppeteer\lib\helper.js:112:23) at run (C:\Users\edupo\apps\zap-bom-dia\actions\zap-efron.js:19:14) at processTicksAndRejections (internal/process/task_queues.js:86:5) (node:10048) 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(). (rejection id: 1) (node:10048) [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.