D3vl0per / Twitch-watcher

Automatic watching the twitch to get Valorant drop
MIT License
226 stars 65 forks source link

I got tree different error's #64

Open yohudood opened 4 years ago

yohudood commented 4 years ago

rpi 2b 516 raspbain nodejs vers 10.19.0

error 1

๐Ÿ” Checking login... โœ… Login successful! ๐Ÿ“ก Checking active streamers... ๐Ÿ”จ Emulating scrolling... ๐Ÿงน Filtering out html codes...

๐Ÿ”— Now watching streamer: https://www.twitch.tv/freethebrain ๐Ÿ’ก Account status: Online ๐Ÿ•’ Time: 11:28:26 ๐Ÿ’ค Watching stream for 90 minutes

(node:834) UnhandledPromiseRejectionWarning: Error: Page crashed! at Page._onTargetCrashed (/home/pi/wows-watcher/node_modules/puppeteer-core/lib/Page.js:213:24) at CDPSession.Page.client.on.event (/home/pi/wows-watcher/node_modules/puppeteer-core/lib/Page.js:122:56) at CDPSession.emit (events.js:198:13) at CDPSession._onMessage (/home/pi/wows-watcher/node_modules/puppeteer-core/lib/Connection.js:200:12) at Connection._onMessage (/home/pi/wows-watcher/node_modules/puppeteer-core/lib/Connection.js:112:17) at WebSocketTransport._ws.addEventListener.event (/home/pi/wows-watcher/node_modules/puppeteer-core/lib/WebSocketTransport.js:44:24) at WebSocket.onMessage (/home/pi/wows-watcher/node_modules/ws/lib/event-target.js:120:16) at WebSocket.emit (events.js:198:13) at Receiver.receiverOnMessage (/home/pi/wows-watcher/node_modules/ws/lib/websocket.js:789:20) at Receiver.emit (events.js:198:13) (node:834) 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: 4)

error 2 ๐Ÿ”— Now watching streamer: https://www.twitch.tv/flamuu ๐Ÿ”ง Setting lowest possible resolution.. ๐Ÿ’ก Account status: Online ๐Ÿ•’ Time: 13:25:41 ๐Ÿ’ค Watching stream for 99 minutes

========================= ๐Ÿ“ฑ Launching browser... (node:834) UnhandledPromiseRejectionWarning: Error: Protocol error (Target.closeTarget): Target closed. at Promise (/home/pi/wows-watcher/node_modules/puppeteer-core/lib/Connection.js:74:56) at new Promise () at Connection.send (/home/pi/wows-watcher/node_modules/puppeteer-core/lib/Connection.js:73:12) at Page.close (/home/pi/wows-watcher/node_modules/puppeteer-core/lib/Page.js:1040:38) at Page. (/home/pi/wows-watcher/node_modules/puppeteer-core/lib/helper.js:112:23) at pages.map (/home/pi/wows-watcher/app.js:327:34) at Array.map () at cleanup (/home/pi/wows-watcher/app.js:327:15) at process._tickCallback (internal/process/next_tick.js:68:7) (node:834) 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: 5) ๐Ÿ”ง Setting User-Agent... ๐Ÿ”ง Setting auth token... โฐ Setting timeouts...

๐Ÿ” Checking login... โœ… Login successful! ๐Ÿ“ก Checking active streamers... ๐Ÿ”จ Emulating scrolling... ๐Ÿงน Filtering out html codes...

๐Ÿ”— Now watching streamer: https://www.twitch.tv/nono7418

error 3

๐Ÿ” Checking login... โœ… Login successful! ๐Ÿ“ก Checking active streamers... ๐Ÿ”จ Emulating scrolling... ๐Ÿคฌ Error: Error: Evaluation failed: TypeError: Cannot read property 'scrollIntoView' of undefined at puppeteer_evaluation_script:3:12 at ExecutionContext._evaluateInternal (/home/pi/wows-watcher/node_modules/puppeteer-core/lib/ExecutionContext.js:122:13) at process._tickCallback (internal/process/next_tick.js:68:7) -- ASYNC -- at ExecutionContext. (/home/pi/wows-watcher/node_modules/puppeteer-core/lib/helper.js:111:15) at DOMWorld.evaluate (/home/pi/wows-watcher/node_modules/puppeteer-core/lib/DOMWorld.js:112:20) at process._tickCallback (internal/process/next_tick.js:68:7) -- ASYNC -- at Frame. (/home/pi/wows-watcher/node_modules/puppeteer-core/lib/helper.js:111:15) at Page.evaluate (/home/pi/wows-watcher/node_modules/puppeteer-core/lib/Page.js:860:43) at Page. (/home/pi/wows-watcher/node_modules/puppeteer-core/lib/helper.js:112:23) at scroll (/home/pi/wows-watcher/app.js:283:16) at getAllStreamer (/home/pi/wows-watcher/app.js:246:9) at process._tickCallback (internal/process/next_tick.js:68:7) Please visit the discord channel to receive help: https://discord.gg/s8AH4aZ