URL to RSS plugin – Puppeteer does not work (with log errors)
Hello,
I followed the instructions given here to install Puppeteer on my VPS (but not DigitalOcean): https://coderevolution.ro/knowledge-base/faq/how-to-install-puppeteer-globally-on-a-digitalocean-droplet/
https://www.youtube.com/watch?v=pRUDcSOe724
And I got the following error in the Wordpress plugin log:
[13-Jun-2023 09:57:41 Europe/London] puppeteer failed to run, error: /var/www/fastuser/data/www/copyzwriter.top/wp-content/plugins/rss-feed-from-any-site/res/puppeteer/puppeteer.js:10 process.on('unhandledRejection', up => { throw up }) ^ Error: Failed to launch the browser process! /var/www/fastuser/data/www/copyzwriter.top/node_modules/puppeteer/.local-chromium/linux-1036745/chrome-linux/chrome: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/var/www/fastuser/data/www/copyzwriter.top/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:290:20) at Interface.<anonymous> (/var/www/fastuser/data/www/copyzwriter.top/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:278:24) at Interface.emit (events.js:412:35) at Interface.close (readline.js:530:8) at Socket.onend (readline.js:254:10) at Socket.emit (events.js:412:35) at endReadableNT (internal/streams/readable.js:1333:12) at processTicksAndRejections (internal/process/task_queues.js:82:21)
I do not know how to solve it by myself :( Any help would be appreciated.