Closed D3FALT404 closed 2 years ago
nvm I didn't know that it wont work on arm cpu
You can edit the puppeteer.ts file
https://github.com/claabs/epicgames-freegames-node/blob/a7629cb5b837b3a9242bf0a0e13b94006bc58dad/src/common/puppeteer.ts#L100-L103
here and add
executablePath: '/usr/bin/chromium-browser',
like this
export const launchArgs: Parameters<typeof puppeteer.launch>[0] = {
headless: true,
executablePath: '/usr/bin/chromium-browser',
args: [
it does work but sometimes I get a Navigation Timeout Error and you have to have chromium installed
Describe the bug
When I try to run through npm run start:ts I get an error message on raspberry pi. Screenshots or Logs
puppeteer-extra-plugin:portal Initialized { webPortalConfig: { listenOpts: { port: 3000 }, baseUrl: 'https://epic.exmaple.com', localtunnel: false } } +0ms puppeteer-extra-plugin:portal basePath: / +0ms [2022-07-08 16:10:57.486 +0200] INFO: Started epicgames-freegames-node [2022-07-08 16:10:57.502 +0200] INFO: Checking free games for user: "klwid@gmail.com" [2022-07-08 16:10:57.771 +0200] ERROR: Failed to launch the browser process! /home/pi/epicgames-freegames-node/node_modules/puppeteer/.local-chromium/linux-9 91974/chrome-linux/chrome: 1: Syntax error: Unterminated quoted string
TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troublesh ooting.md
Additional context