Chromium revision is not downloaded. Run "npm install" or "yarn install
-
Error: Chromium revision is not downloaded. Run "npm install" or "yarn install" at Launcher.launch (/var/app/current/node_modules/puppeteer/lib/Launcher.js:119:15) at async getBrowser (/var/app/current/node_modules/jsreport-chrome-pdf/lib/dedicatedProcessStrategy.js:13:21) at async module.exports (/var/app/current/node_modules/jsreport-chrome-pdf/lib/conversion.js:4:19) at async execute (/var/app/current/node_modules/jsreport-chrome-pdf/lib/dedicatedProcessStrategy.js:10:22) at async Object.execute (/var/app/current/node_modules/jsreport-chrome-pdf/lib/chrome.js:69:20) at async module.exports (/var/app/current/node_modules/jsreport-core/lib/render/render.js:149:5)
-
Please remove node_modules folder and install it again.
-
Ok
-
We had the same problem at the customer site. Turns out, they opened access to npm repositories; but in order to download Chromium, puppeteer tries to download from https://XXX.1e100.net which was blocked (it's Google download site, but it shows up on suspicious lists; so it was blocked). Third-level domain varies, but it is something like mia07s48-in-f16. Anyway, once they opened 172.217.8.0/24 subnet, it started working.
Hope that helps somebody