Skip to content

Instantly share code, notes, and snippets.

@ddoice
Last active March 11, 2019 07:25
Show Gist options
  • Save ddoice/8a92fd17843089b42ceddd4906151e1f to your computer and use it in GitHub Desktop.
Save ddoice/8a92fd17843089b42ceddd4906151e1f to your computer and use it in GitHub Desktop.

Navigate in your SSR app like Google bot mobile.

· Problem:

If you log your app front unhandled errors (you must!) maybe you find some unexpected errors. Google bot mobile version uses a legacy Chrome version (v41). You cannot install older versions of Chrome due to security reasons.

· Solution: Use a older chromium version (as you may know Chrome is based on Chromium)

chrome-linux.zip

Unzip, enter folder, then change chrome-sandbox owner

sudo chown root:root chrome-sandbox

Then run chromium without sandbox.

./chrome --nacl-dangerous-no-sandbox-nonsfi  --no-sandbox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment