[21:38:23] error :: ✖ something bad happened, resetting streetmerchant in 5 seconds Failed to launch the browser process!
/home/pi/streetmerchant/node_modules/puppeteer/.local-chromium/linux-818858/chrome-linux/chrome: 1: /home/pi/streetmerchant/node_modules/puppeteer/.local-chromium/linux-818858/chrome-linux/chrome: Syntax error: "(" unexpected
TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
{
"stack": "Error: Failed to launch the browser process!\n/home/pi/streetmerchant/node_modules/puppeteer/.local-chromium/linux-818858/chrome-linux/chrome: 1: /home/pi/streetmerchant/node_modules/puppeteer/.local-chromium/linux-818858/chrome-linux/chrome: Syntax error: \"(\" unexpected\n\n\nTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md\n\n at onClose (/home/pi/streetmerchant/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:193:20)\n at Interface.
}
[21:38:28] error :: ✖ something bad happened, resetting streetmerchant in 5 seconds Failed to launch the browser process!
/home/pi/streetmerchant/node_modules/puppeteer/.local-chromium/linux-818858/chrome-linux/chrome: 1: /home/pi/streetmerchant/node_modules/puppeteer/.local-chromium/linux-818858/chrome-linux/chrome: Syntax error: "(" unexpected
@jef looks like this might be a raspberry pi.
@ncclucal I'd recommend Following this: https://github.com/jef/streetmerchant/wiki/Installation:-Linux:-Raspberry-Pi-OS
@jef @MujiSayed at least its working now so far, but at some point this happens.. its not an issue with my network connection, i already checked...
[11:55:28] error :: ✖ [amazon] sony sonyps5c ps5 console - Navigation failed because browser has disconnected!
[11:55:28] error :: ✖ [alternate] sony sonyps5c ps5 console - Navigation failed because browser has disconnected!
[11:55:28] error :: ✖ [amazon-de] sony sonyps5c ps5 console - Navigation failed because browser has disconnected!
pi@pi:~/streetmerchant $
i set the timeout to 0
Thanks @MujiSayed, good eye!
@ncclucal, I believe you'll get these because the browser is probably running out of memory and crashed. Depending how many sites you're trying to scrape, this will happen frequently. Especially on machines less than 4GB of RAM (all Pi's).
This doesn't limit you, you'll just have to decide what sites you'd like to monitor in priority with some update configuration.
@jef thank you very much for your help. Ur an awesome person that wrote a awesome code... THX
Most helpful comment
@jef thank you very much for your help. Ur an awesome person that wrote a awesome code... THX