docs(troubleshooting.md): updated commands (#6296)

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.
This commit is contained in:
Prashant Ghimire 2020-09-09 08:39:32 -05:00 committed by GitHub
parent ce6ae3537e
commit 35cfbe1857
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
@ -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: