Can't run: puppeteer on heroku?

Can't run the script from the puppeteer on heroku. Out how to fix please help.

const browser = await puppeteer.launch({
 'args' : [
'--no-sandbox'
]
 });


{
 "name": "test2",
 "version": "1.0.0",
 "description": "",
 "main": "index.js",
 "scripts": {
 "start": "node app.js",
 "test": "echo \"Error: no test specified\" && exit 1"
},
 "author": "",
 "license": "ISC",
 "dependencies": {
 "express": "^4.17.1",
 "puppeteer": "^3.0.0"
}
}


5e9840df8ea8b441509428.png

5e9840e6d8fc6443388679.png
April 19th 20 at 12:19
0 answer

Find more questions by tags HerokuNode.js