You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to run puppeteer using NodeJS in Appwrite function but when I deploy the function I get a build error :
I also tried pre-installation scripts in package.json but it did not work.
Docker Error: npm notice
npm notice New major version of npm available! .0 -> .2
npm notice Changelog:
npm notice Run `npm install -g npm@8.12.2` to update!
npm notice
npm ERR! code
npm ERR! path /usr/builds/node_modules/puppeteer
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! The chromium binary is not available for arm64.
npm ERR! If you are on Ubuntu, you can install with:
npm ERR!
npm ERR! sudo apt install chromium
npm ERR!
npm ERR!
npm ERR! sudo apt install chromium-browser
npm ERR!
npm ERR! /usr/builds/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:123
npm ERR! throw new Error();
npm ERR! ^
npm ERR!
npm ERR! Error
npm ERR! at /usr/builds/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:123:27
npm ERR! at FSReqCallback.oncomplete (node:fs:194:21)
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-06-16T17_12_24_497Z-debug.log
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I tried to run puppeteer using NodeJS in Appwrite function but when I deploy the function I get a build error :
I also tried pre-installation scripts in package.json but it did not work.
All reactions