-
Notifications
You must be signed in to change notification settings - Fork 9.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add troubleshooting.md #428
Conversation
docs/troubleshooting.md
Outdated
## Chrome headless doesn't start | ||
|
||
- Make sure all the necessary dependencies are installed | ||
- The broad discussion on the topic could be found in [#290](https://github.com/GoogleChrome/puppeteer/issues/290) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could -> can
docs/troubleshooting.md
Outdated
@@ -0,0 +1,68 @@ | |||
# Troubleshooting | |||
|
|||
## Chrome headless doesn't start |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"...doesn't start on Debian"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
docs/troubleshooting.md
Outdated
|
||
- make sure kernel version is up-to-date | ||
- read about linux sandbox here: https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md | ||
- try running without sandbox (**Note: running without sandbox is not recommended due to security reasons!**) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
without sandbox -> without the sandbox
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
docs/troubleshooting.md
Outdated
```js | ||
const puppeteer = require('puppeteer'); | ||
(async() => { | ||
const browser = await puppeteer.launch({args: ['--no-sandbox', '--disable-setuid-sandbox']}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for the full example, just show the launch line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
This patch adds troubleshooting.md and starts referring to it when chromium
fails to start.