PoliDown icon indicating copy to clipboard operation
PoliDown copied to clipboard

Not Working - Chromium revision is not downloaded

Open lnk3 opened this issue 4 years ago • 6 comments

I maybe did something wrong, or missed a package somewhere but it doesn't work. Error

It suggested me to npm install but that already went well. Npm-Install

I'm on Windows and I did install node.js, aria2c and ffmpeg and added them to the $PATH variable.

lnk3 avatar Mar 11 '20 12:03 lnk3

Hi, try these steps that I found online (this error seems pretty common, but it's about puppeter):

  • Remove lock file "package-lock.json"
  • Run npm cache clean --force inside the PoliDown folder
  • Run npm install

Let me know if it resolves your issue

sup3rgiu avatar Mar 11 '20 13:03 sup3rgiu

No it didn't work... same error

lnk3 avatar Mar 11 '20 13:03 lnk3

Then you could try to hardcode the Chromium executable path in this way: image

You have to add executablePath: "./node_modules/puppeteer/.local-chromium/win64-656675/chrome-win/chrome.exe", inside the file polidown.js, as puppeter launch option.

"win64-656675" in the path could be different. Navigate to that path (in the PoliDown folder) and copy your version number.

sup3rgiu avatar Mar 11 '20 13:03 sup3rgiu

It seems like I don't have the .local-chromium folder image

Is it possible that the issue is due to not having Chrome installed, by any means? I don't think so, because if any "chromium files" (sorry if I'm telling something wrong) would be needed, they should already be in my system, since I use Microsoft Edge which runs on Chromium too.

lnk3 avatar Mar 11 '20 16:03 lnk3

Sorry for the late reply. From the screenshot, seems you are on a Debian distribution. Is that right?

If so, try to install some dependencies running this command: sudo apt-get install gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget

Then cd inside the PoliDown folder and try npm install puppeteer

And so check if now you have the .local-chromium folder

sup3rgiu avatar Mar 12 '20 21:03 sup3rgiu

Try to reinstall everything from the beginning, it worked for me

GDaglio avatar Mar 14 '20 20:03 GDaglio