title: Puppeteer sandbox : No usable sandbox
body: <p>I installed Puppeteer to use it in the generation of pdf / minuatures, but I can not activate and configure Chrome Linux Sandbox. Always the same error message : </p>
  
  <blockquote>
    <p>(node:46) UnhandledPromiseRejectionWarning: Error: Failed to launch chrome!
    [1208/055442.253403:FATAL:zygote_host_impl_linux.cc(116)] No usable sandbox! Update your kernel or see <a href="https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md" rel="noreferrer">https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md</a> for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.</p>
  </blockquote>
  
  <p>I followed the steps mentioned in the official documentation, but without success </p>
  
  <pre><code># cd to the downloaded instance
  cd &lt;project-dir-path&gt;/node_modules/puppeteer/.local-chromium/linux-&lt;revision&gt;/chrome-linux/
  sudo chown root:root chrome_sandbox
  sudo chmod 4755 chrome_sandbox
  # copy sandbox executable to a shared location
  sudo cp -p chrome_sandbox /usr/local/sbin/chrome-devel-sandbox
  # export CHROME_DEVEL_SANDBOX env variable
  export CHROME_DEVEL_SANDBOX=/usr/local/sbin/chrome-devel-sandbox
  </code></pre>