sulla icon indicating copy to clipboard operation
sulla copied to clipboard

How to run --no-sandbox on Heroku

Open nec-willian opened this issue 4 years ago • 4 comments

I'm trying to host a Sulla application on Heroku, but i can't find where i can run --no-sandbox parameter for Sulla

nec-willian avatar May 06 '20 17:05 nec-willian

Add this builpack

heroku buildpacks:add https://github.com/heroku/heroku-buildpack-google-chrome.git

tradename avatar May 09 '20 11:05 tradename

try these options

sulla.create('chat', ()=> {}, { headless: true, // Headless chrome devtools: false, // Open devtools by default useChrome: true, // If false will use Chromium instance debug: false, // Opens a debug session logQR: true, // Logs QR automatically in terminal browserArgs: ['--no-sandbox'], // Parameters to be added into the chrome browser instance refreshQR: 15000, // Will refresh QR every 15 seconds, 0 will load QR once. Default is 30 seconds }).then((client) => get_image(client));

foomoto avatar May 21 '20 22:05 foomoto

How to run our application in Heroku,usually i execute node index.js command to run my application on my laptop. In heroku, how do i do that?

EdoWahdana avatar May 29 '20 17:05 EdoWahdana

I use npm start with sulla in the server.js

foomoto avatar Jun 04 '20 11:06 foomoto