Hello everyone,
I am trying to add a headless browser on my node red server host by home assistant. I tried to install node-red-contrib-puppeteer-new directly from the palette, but an error occurs.
2022-06-09T11:25:11.555Z Install : node-red-contrib-puppeteer-new 0.3.2
2022-06-09T11:25:11.766Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict [email protected]
2022-06-09T11:25:14.872Z [err] npm
2022-06-09T11:25:14.876Z [err] WARN
2022-06-09T11:25:14.876Z [err] config production Use `--omit=dev` instead.
2022-06-09T11:25:29.412Z [err] npm
2022-06-09T11:25:29.413Z [err] ERR! code 1
2022-06-09T11:25:29.414Z [err] npm ERR!
2022-06-09T11:25:29.415Z [err] path /config/node-red/node_modules/puppeteer
2022-06-09T11:25:29.425Z [err] npm ERR! command failed
2022-06-09T11:25:29.426Z [err] npm ERR! command
2022-06-09T11:25:29.426Z [err] sh -c node install.js
2022-06-09T11:25:29.427Z [err] npm ERR! The chromium binary is not available for arm64.
2022-06-09T11:25:29.427Z [err] npm ERR!
2022-06-09T11:25:29.427Z [err] If you are on Ubuntu, you can install with:
2022-06-09T11:25:29.427Z [err] npm ERR!
2022-06-09T11:25:29.427Z [err] npm ERR!
2022-06-09T11:25:29.428Z [err] sudo apt install chromium
2022-06-09T11:25:29.428Z [err] npm ERR!
2022-06-09T11:25:29.428Z [err] npm
2022-06-09T11:25:29.428Z [err] ERR!
2022-06-09T11:25:29.429Z [err]
2022-06-09T11:25:29.429Z [err] npm
2022-06-09T11:25:29.430Z [err] ERR! sudo apt install chromium-browser
2022-06-09T11:25:29.430Z [err] npm ERR!
2022-06-09T11:25:29.430Z [err] npm ERR! /config/node-red/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:119
2022-06-09T11:25:29.430Z [err] npm ERR! throw new Error();
2022-06-09T11:25:29.430Z [err] npm ERR! ^
2022-06-09T11:25:29.430Z [err] npm
2022-06-09T11:25:29.430Z [err] ERR!
2022-06-09T11:25:29.430Z [err] npm ERR! Error
2022-06-09T11:25:29.430Z [err] npm
2022-06-09T11:25:29.431Z [err] ERR! at /config/node-red/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:119:27
2022-06-09T11:25:29.431Z [err] npm ERR! at FSReqCallback.oncomplete (node:fs:198:21)
2022-06-09T11:25:29.443Z [err]
2022-06-09T11:25:29.445Z [err] npm ERR! A complete log of this run can be found in:
2022-06-09T11:25:29.445Z [err] npm ERR! /root/.npm/_logs/2022-06-09T11_25_14_617Z-debug-0.log
2022-06-09T11:25:29.508Z rc=1
Do you know how to solve the issue ?
Best regards