I used npm i puppeteer
as stated in the Documentation
and I\'m getting the following error:
(node:2066) UnhandledPromiseRejectionWarning: Error: Chr
If someone still facing this problem again. Then goto node_modules folder then into puppeteer and in lib where you find launch.js open the same file and search for executablepath then change its null value to your chrome or chromium desired path.
For me the path as follows :
/home/Nightwing/node_modules/puppeteer/Launcher.js