I used npm i puppeteer as stated in the Documentation and I\'m getting the following error:
npm i puppeteer
(node:2066) UnhandledPromiseRejectionWarning: Error: Chr
After many attempts I finally found the answer here:
sudo npm install puppeteer --unsafe-perm=true --allow-root
As @vsync pointed out, this only works for linux