1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

How to resolve the issues with puppeteer with nodejs 20 upgrade?

Discussão em 'Angular' iniciado por technext, Setembro 13, 2024.

  1. technext

    technext Guest

    Recently, I tried to upgrade nodejs to 20 and angular: 15.2.10 and replaced phantomjs with puppeter: ^20.9.0 as part of using Headless Chrome. So locally I'm able to run it but when im trying to deploy over jules i'm getting this error.

    Error: Could not find Chrome (ver. 115.0.5790.98). This can occur if either
    1. you did not perform an installation before running the script (e.g. npm install)
    2. your cache path is incorrectly configured


    Note: I have tried couple of fixes to get away with this but i'm not able to fix it: node node_modules/puppeteer/install.js

    downloaded exact version of chromedriver

    tried cleaning node modules

    PUPPETEER_SKIP_DOWNLOAD: true

    Continue reading...

Compartilhe esta Página