[Help] Running as root without --no-sandbox is not supported.
See original GitHub issueDefinitely not a whatticket issue but where to add the --no-sandbox to run all of this as root?
[nodemon] starting `node src/app.js`
Server started on port: 8080
(node:23531) UnhandledPromiseRejectionWarning: Error: Failed to launch the browser process!
[0828/114941.087419:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
ERROR:zygote_host_impl_linux.cc(89)] Running as root ...
Steps to reproduce the problem: When I am trying to launch the headless browser in puppeteer i am seeing the error message as...
Read more >FATAL: Running as root without --no-sandbox is not supported ...
I had a similar issue when I run my electron app with sudo: sudo ./MyElectronApp ... Running as root without --no-sandbox is not...
Read more >Running as root without --no-sandbox is not supported
After starting with resin-electronjs I've since updated to electron 5 since I was having some issues with UI elements.
Read more >Fix "running as root without -no-sandbox" Error in Puppeteer
The solution is straightforward but comes with some caveats. To fix the error outright, we can add some flags to the Puppeteer browser...
Read more >Running as root without --no-sandbox is not supported. what ...
You need to make sure that /tmp/.mount_JoplinYYcZ7h/chrome-sandbox is owned by root and has mode 4755. ... Can Someone help me out with simple ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The right decision is to run WhaTicket without root. But there is a workaround, by editing a file in WWebJS lib:
Edit
node_modules/whatsapp-web.js/src/util/Constants.js
, adding this args:ps.: It’s not recommended, since every update you will need to make this changes again.
run the command with another account other than root