express-chrome-ssr
express-chrome-ssr copied to clipboard
server hangs indefinitely
I followed all your instructions and dependencies (debian 10), however I can't make it work. The server runs, the /test route does print test, but when I try to render an URL, it hangs forever.
Please let me know which details do you need
It appears to be because I tried to run this app as root. Using a non-root user and const browser = await puppeteer.launch({args: ['--no-sandbox', '--disable-setuid-sandbox']});
works for the moment in my docker env.
Hey @fayak - Running puppeteer as root without sandbox is not supported
Running as root without --no-sandbox is not supported.
https://github.com/karma-runner/karma-chrome-launcher/issues/158