GithubHelp home page GithubHelp logo

Comments (5)

Kikobeats avatar Kikobeats commented on May 18, 2024

The dependency is not shipped with the library; actually it's a peer dependency:
https://github.com/Kikobeats/browserless/blob/master/package.json#L90

so you need to do npm install puppeteer and then browserless will be use your puppeteer version.

from browserless.

maheshwar1729 avatar maheshwar1729 commented on May 18, 2024

After running command sudo npm install puppeteer, I am getting an error like this...

[email protected] install /home/eaachmh/gremlins-monkey-test/node_modules/puppeteer
node install.js

fs.js:143
throw err;
^

Error: EACCES: permission denied, mkdir '/home/eaachmh/gremlins-monkey-test/node_modules/puppeteer/.local-chromium'
at Object.fs.mkdirSync (fs.js:872:3)
at Object.downloadRevision (/home/eaachmh/gremlins-monkey-test/node_modules/puppeteer/utils/ChromiumDownloader.js:101:10)
at Object. (/home/eaachmh/gremlins-monkey-test/node_modules/puppeteer/install.js:50:12)
at Module._compile (internal/modules/cjs/loader.js:702:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
at Module.load (internal/modules/cjs/loader.js:612:32)
at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
at Function.Module._load (internal/modules/cjs/loader.js:543:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:744:10)
at startup (internal/bootstrap/node.js:238:19)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/eaachmh/.npm/_logs/2018-08-02T09_26_28_980Z-debug.log

from browserless.

CsrCardoso avatar CsrCardoso commented on May 18, 2024

After running command sudo npm install puppeteer, I am getting an error like this...

[email protected] install /home/eaachmh/gremlins-monkey-test/node_modules/puppeteer
node install.js

fs.js:143
throw err;
^

Error: EACCES: permission denied, mkdir '/home/eaachmh/gremlins-monkey-test/node_modules/puppeteer/.local-chromium'
at Object.fs.mkdirSync (fs.js:872:3)
at Object.downloadRevision (/home/eaachmh/gremlins-monkey-test/node_modules/puppeteer/utils/ChromiumDownloader.js:101:10)
at Object. (/home/eaachmh/gremlins-monkey-test/node_modules/puppeteer/install.js:50:12)
at Module._compile (internal/modules/cjs/loader.js:702:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
at Module.load (internal/modules/cjs/loader.js:612:32)
at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
at Function.Module._load (internal/modules/cjs/loader.js:543:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:744:10)
at startup (internal/bootstrap/node.js:238:19)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/eaachmh/.npm/_logs/2018-08-02T09_26_28_980Z-debug.log

I have the some error :C .

from browserless.

Kikobeats avatar Kikobeats commented on May 18, 2024

Feeling that these kinds of errors are related directly with https://github.com/GoogleChrome/puppeteer, not with browserless.

from browserless.

cajunesque avatar cajunesque commented on May 18, 2024

i have the same error on a winwdows box but not on a mac

from browserless.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.