A couple updates to get things running again locally for gccaedits.
Using an updated version of npm
Added chromium and dependencies Docker containers
Run puppeteer with --no-sandbox (it's a lazy hack to avoid errors like below)
Draft:Brampton Mortgage Wikipedia article edited anonymously from Shared Services Canada https://en.wikipedia.org/w/index.php?oldid=1128532486&rcid=1581842217
/opt/anon/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:193
reject(new Error([
^
Error: Failed to launch the browser process!
[1220/165729.434964:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
at onClose (/opt/anon/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:193:20)
at Interface.<anonymous> (/opt/anon/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:183:68)
at Interface.emit (node:events:525:35)
at Interface.close (node:readline:590:8)
at Socket.onend (node:readline:280:10)
at Socket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1358:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
A couple updates to get things running again locally for gccaedits.
npm
--no-sandbox
(it's a lazy hack to avoid errors like below)