Skip to content

Commit

Permalink
docs(troubleshooting.md): updated commands (#6296)
Browse files Browse the repository at this point in the history
prior command installs stable version of chrome (RUN command), but after that, the docs is referring to unstable version.
added correct commands for troubleshooting in linux environment.
  • Loading branch information
Prashant Ghimire committed Sep 9, 2020
1 parent ce6ae35 commit 35cfbe1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/troubleshooting.md
Expand Up @@ -278,7 +278,7 @@ RUN apt-get update \

# Uncomment to skip the chromium download when installing puppeteer. If you do,
# you'll need to launch puppeteer with:
# browser.launch({executablePath: 'google-chrome-unstable'})
# browser.launch({executablePath: 'google-chrome-stable'})
# ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true

# Install puppeteer so it's available in the container.
Expand All @@ -293,7 +293,7 @@ RUN npm i puppeteer \
# Run everything after as non-privileged user.
USER pptruser

CMD ["google-chrome-unstable"]
CMD ["google-chrome-stable"]
```

Build the container:
Expand Down

0 comments on commit 35cfbe1

Please sign in to comment.