Answer the question
In order to leave comments, you need to log in
How to properly install nesk/puphpeteer (Ubuntu, PHP)?
The instructions are simple
composer require nesk/puphpeteer
npm install @nesk/puphpeteer
require('vendor/autoload.php');
use Nesk\Puphpeteer\Puppeteer;
$puppeteer = new Puppeteer;
$browser = $puppeteer->launch();
Parse error: syntax error, unexpected '?' in /var/www/html/vendor/nesk/puppeteer/src/Puppeteer.php on line 60
private function currentPuppeteerVersion(string $nodePath): ?string {
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question