Any way to run snap-tweet in a headless environment?
jvlianodorneles opened this issue · 1 comments
jvlianodorneles commented
How about to run snap-tweet in a headless environment (like a virtual machine)?
Environment:
- Fedora 36 VM
- Node version 16.15.0
- Google Chrome version 103.0.5060.114
I'm getting:
[snap-tweet] Error: connect ECONNREFUSED 127.0.0.1:40353
✖ connect ECONNREFUSED 127.0.0.1:40353:
https://twitter.com/telegram/status/1507356.......
I know that google-chrome have some flags to run headless:
--headless --disable-gpu
Is there some way to do this?
privatenumber commented
snap-tweet is headless:
snap-tweet/src/tweet-camera.ts
Lines 74 to 77 in 68d7fec
I'm guessing your environment doesn't have Chrome installed.