ngnijland / MMM-YouTube-Live-Stream

A Magic Mirror module that shows a live stream whenever a YouTube channel starts streaming live.
MIT License
1 stars 1 forks source link

error npx playwright #16

Open mirrormonark opened 1 year ago

mirrormonark commented 1 year ago

hi, when i try install "npx playwright" in the folder MMM-YouTube-Live-Stream i see this:

modules/MMM-YouTube-Live-Stream $ npx playwright install BEWARE: your OS is not officially supported by Playwright; downloading fallback build. BEWARE: your OS is not officially supported by Playwright; downloading fallback build. BEWARE: your OS is not officially supported by Playwright; downloading fallback build. BEWARE: your OS is not officially supported by Playwright; downloading fallback build.

i have this:

node v16.20.1 npm v8.19.4 BST 2023 aarch64 GNU/Linux raspian 11 bullseye magicmirror v2.24.0

what should I do?

mirrormonark commented 1 year ago

Couldn't start headless browser. socketNotificationReceived @ MMM-YouTube-Live-Stream.js:63 (anonymous) @ module.js:232 (anonymous) @ socketclient.js:38 Emitter.emit @ index.mjs:136 emitEvent @ socket.js:498 onevent @ socket.js:485 MMSocket.socket.onevent @ socketclient.js:32 onpacket @ socket.js:455 Emitter.emit @ index.mjs:136 (anonymous) @ manager.js:204 Promise.then (async)
(anonymous) @ websocket-constructor.browser.js:5 ondecoded @ manager.js:203 Emitter.emit @ index.mjs:136 add @ index.js:146 ondata @ manager.js:190 Emitter.emit @ index.mjs:136 onPacket @ socket.js:339 Emitter.emit @ index.mjs:136 onPacket @ transport.js:98 onData @ transport.js:90 ws.onmessage @ websocket.js:68

ngnijland commented 1 year ago

Hi @mirrormonark! Thanks for trying out this module. Unfortunately, this module doesn't work properly on a Raspberry PI since it doesn't support Chromium (which is used by Playwright). It worked on my laptop while I was developing it, but when I tried to install it on my Raspberry Pi I got the same error message. Then I got de-motivated and didn't fix it yet.

Sorry for the inconvenience!

KJpi5 commented 2 months ago

@ngnijland I appreciate the honesty. haha