sindresorhus/pageres

Chromium revision is not downloaded. Run npm install

Lancelight opened this issue · 3 comments

This seems to be a common problem but has no real answer anywhere that I can find.

[ryan@Work-VirtualBox:~]# sudo npm install puppeteer --unsafe-perm=true --allow-root

> puppeteer@1.19.0 install /home/ryan/node_modules/puppeteer
> node install.js

Downloading Chromium r674921 - 112.6 Mb [====================] 100% 0.0s 
Chromium downloaded to /home/ryan/node_modules/puppeteer/.local-chromium/linux-674921
npm WARN saveError ENOENT: no such file or directory, open '/home/ryan/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/ryan/package.json'
npm WARN ryan No description
npm WARN ryan No repository field.
npm WARN ryan No README data
npm WARN ryan No license field.
+ puppeteer@1.19.0
updated 1 package and audited 1291 packages in 15.716s
found 15 vulnerabilities (5 low, 10 high)
  run `npm audit fix` to fix them, or `npm audit` for details
[ryan@Work-VirtualBox:~]# pageres google.com
Error: Chromium revision is not downloaded. Run "npm install" or "yarn install"
    at Launcher.launch (/usr/local/lib/node_modules/pageres-cli/node_modules/puppeteer/lib/Launcher.js:120:15)

[ryan@Work-VirtualBox:~]# 

Incorrect, I found the issue and fixed it myself. Its definetly a dev problem. However this project isnt worth the time I thought and have since deleted it anyway. GL with the project.

@Lancelight can you maybe tell us the solution?