PoliDown
PoliDown copied to clipboard
Not Working - Chromium revision is not downloaded
I maybe did something wrong, or missed a package somewhere but it doesn't work.
It suggested me to npm install
but that already went well.
I'm on Windows and I did install node.js, aria2c and ffmpeg and added them to the $PATH variable.
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
No it didn't work... same error
Then you could try to hardcode the Chromium executable path in this way:
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.
It seems like I don't have the .local-chromium folder
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.
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
Try to reinstall everything from the beginning, it worked for me