Streetmerchant: help error chromium

Created on 28 Nov 2020  Â·  5Comments  Â·  Source: jef/streetmerchant

[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. (/home/pi/streetmerchant/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:183:68)\n at Interface.emit (events.js:327:22)\n at Interface.close (readline.js:424:8)\n at Socket.onend (readline.js:202:10)\n at Socket.emit (events.js:327:22)\n at endReadableNT (_stream_readable.js:1327:12)\n at processTicksAndRejections (internal/process/task_queues.js:80:21)"
}
[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

Most helpful comment

@jef thank you very much for your help. Ur an awesome person that wrote a awesome code... THX

All 5 comments

@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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

louij2 picture louij2  Â·  3Comments

wdrury-uk picture wdrury-uk  Â·  4Comments

RealityMyx picture RealityMyx  Â·  3Comments

gahmee picture gahmee  Â·  3Comments

FawnPat picture FawnPat  Â·  4Comments