A
A
adrenalinruslan2020-04-16 14:26:33
Node.js
adrenalinruslan, 2020-04-16 14:26:33

Can't run: puppeteer on heroku?

Can't run script with puppeteer on heroku. I get an error, how to fix it 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

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question