Hi guys,
In the n8n community node repository there are some nodes (n8n-nodes-browser, n8n-nodes-puppeteer-extended) based on Puppeteer, but when trying to extract data from any url using n8n, the following error appears in the application log:
Jul 27 20:03:41 Service path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + id
Jul 27 20:03:41 Already Connected to puppeteer - So executing success without connection
Jul 27 20:03:41 dispatching event to puppeteer /tmp/app.puppeteer : launch , {
Jul 27 20:03:41 globalOptions: { device: 'iPad Pro 11 landscape' },
Jul 27 20:03:41 executionId: '9424'
Jul 27 20:03:41 }
Jul 27 20:03:41 received event of : launch {
Jul 27 20:03:41 globalOptions: { device: 'iPad Pro 11 landscape' },
Jul 27 20:03:41 executionId: '9424'
Jul 27 20:03:41 }
Jul 27 20:03:41 Error: Could not find Chromium (rev. 1095492). This can occur if either
Jul 27 20:03:41 1. you did not perform an installation before running the script (e.g. `npm install`) or
Jul 27 20:03:41 2. your cache path is incorrectly configured (which is: /home/cloudron/.cache/puppeteer).
Jul 27 20:03:41 For (2), check out our guide on configuring puppeteer at https://pptr.dev/guides/configuration.
Jul 27 20:03:41 at ChromeLauncher.resolveExecutablePath (/app/data/user/.n8n/nodes/node_modules/puppeteer-core/src/node/ProductLauncher.ts:134:17)
Jul 27 20:03:41 at ChromeLauncher.executablePath (/app/data/user/.n8n/nodes/node_modules/puppeteer-core/src/node/ChromeLauncher.ts:251:19)
Jul 27 20:03:41 at ChromeLauncher.launch (/app/data/user/.n8n/nodes/node_modules/puppeteer-core/src/node/ChromeLauncher.ts:103:31)
Jul 27 20:03:41 at PuppeteerExtra.launch (/app/data/user/.n8n/nodes/node_modules/puppeteer-extra/src/index.ts:169:21)
Jul 27 20:03:41 at default_1 (/app/data/user/.n8n/nodes/node_modules/n8n-nodes-puppeteer-extended/nodes/Puppeteer/puppeteer/start.ts:28:18)
Jul 27 20:03:41 at /app/data/user/.n8n/nodes/node_modules/n8n-nodes-puppeteer-extended/nodes/Puppeteer/puppeteer/index.ts:23:16
Jul 27 20:03:41 dispatching event to socket : launch false
Jul 27 20:03:41 ## received events ##
Jul 27 20:03:41 detected event launch false
Jul 27 20:03:41 Service path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + id
Jul 27 20:03:41 Already Connected to puppeteer - So executing success without connection
Jul 27 20:03:41 dispatching event to puppeteer /tmp/app.puppeteer : check , {
Jul 27 20:03:41 executionId: '9424',
Jul 27 20:03:41 apiKey: 'n8n_api_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
Jul 27 20:03:41 baseUrl: 'https://n8n.xxxxxxxxxx.xxx/api/v1'
Jul 27 20:03:41 }
Jul 27 20:03:41 received event of : check {
Jul 27 20:03:41 executionId: '9424',
Jul 27 20:03:41 apiKey: 'n8n_api_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
Jul 27 20:03:41 baseUrl: 'https://n8n.xxxxxxxxxx.xxx/api/v1'
Jul 27 20:03:41 }
Jul 27 20:03:41 dispatching event to socket : check true
Jul 27 20:03:41 ## received events ##
Jul 27 20:03:41 detected event check true
Is there a possibility to include it in the application package?