skip to Main Content

Centos – Using npm to install puppetteer gives Error: Cannot find module 'puppeteer/internal/node/install.js'

Trying to install puppeteer on Centos 7 npm i puppeteer > [email protected] postinstall /mypath/node_modules/puppeteer > node install.js internal/modules/cjs/loader.js:775 throw err; ^ Error: Cannot find module 'puppeteer/internal/node/install.js' Require stack: - /mypath/node_modules/puppeteer/install.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:772:15) at Function.Module._load (internal/modules/cjs/loader.js:677:27) at Module.require (internal/modules/cjs/loader.js:830:19) at…

VIEW QUESTION

Cannot execute puppeteer from php

When I try to run a Puppeteer command from PHP using the exec function, I get this error: Error: EACCES: permission denied, stat '/root/.config/puppeteer' Do you know how to resolve this problem? I tried to set the owner and the…

VIEW QUESTION
Back To Top
Search