Essa biblioteca suporta linux? estou rodando no linux mint no visual studio code segui um video no youtube e está apresentando esse erro:
(node:19300) UnhandledPromiseRejectionWarning: Error: Chromium revision is not downloaded. Run “npm install” or “yarn install”
at assert (/home/administrador/Documentos/Automacao/my-project/node_modules/puppeteer/lib/helper.js:283:11)
at Function.launch (/home/administrador/Documentos/Automacao/my-project/node_modules/puppeteer/lib/Launcher.js:100:7)
at
(node:19300) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:19300) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
root@GETIC0028:/home/administrador/Documentos/Automacao/my-project/basico# node index.js
(node:20384) UnhandledPromiseRejectionWarning: Error: Chromium revision is not downloaded. Run “npm install” or “yarn install”
at assert (/home/administrador/Documentos/Automacao/my-project/node_modules/puppeteer/lib/helper.js:283:11)
at Function.launch (/home/administrador/Documentos/Automacao/my-project/node_modules/puppeteer/lib/Launcher.js:100:7)
at
(node:20384) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:20384) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Parece ser algo relacionado ao navegador chromium revision.