Error: Chromium revision is not downloaded in Docker image
Closed this issue · 0 comments
CaptainCodeman commented
Trying to switch from rendertron but it's failing when trying to execute with message that Chromeium isn't installed:
> pptraas@0.0.2 start /app
> node server.js
App is listening on port 8080
(node:19) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1):
AssertionError [ERR_ASSERTION]: Chromium revision is not downloaded. Run "npm install" or "yarn install"
Steps used:
- Cloned repo
git clone https://github.com/GoogleChromeLabs/pptraas.com.git
cd pptraas.com
npm install
- Built docker image
docker build -t pptraas . --no-cache=true
- Run docker
docker run -it -p 8080:8080 pptraas
Version details:
$ node --version && npm --version && docker --version
v10.1.0
6.0.0
Docker version 18.05.0-ce-rc1, build 33f00ce