I used npm i puppeteer
as stated in the Documentation
and I\'m getting the following error:
(node:2066) UnhandledPromiseRejectionWarning: Error: Chr
By default, the puppeteer
module will run its install script (node install.js
). However, in my case, I enabled ignore-scripts=true
in my ~/.npmrc
file, so it was never executed.
In that case, you have to run the command yourself:
node node_modules/puppeteer/install.js
To check: node_modules/puppeteer/.local-chromium/linux-
should exist now.