I can’t use puppeteer on my web service because of the error:
==> Running ‘npm start’
May 19 02:26:27 PM> server@1.0.0 start
May 19 02:26:27 PM> node index.js
May 19 02:26:30 PM server started on 5001
May 19 02:26:42 PM /opt/render/project/src/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ProductLauncher.js:72
May 19 02:26:42 PM throw new Error(Browser was not found at the configured executablePath (${launchArgs.executablePath})
);
May 19 02:26:42 PM ^
May 19 02:26:42 PM Error: Browser was not found at the configured executablePath (/usr/bin/chromium-browser)
May 19 02:26:42 PM at ChromeLauncher.launch (/opt/render/project/src/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ProductLauncher.js:72:19)
May 19 02:26:42 PM at async /opt/render/project/src/routes/Pdf.js:339:21
May 19 02:26:42 PM Node.js v20.12.2
I cannot understand what is the problem and how to fix it…