Comments (5)
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.
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.
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.jsfs.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.
Feeling that these kinds of errors are related directly with https://github.com/GoogleChrome/puppeteer, not with browserless.
from browserless.
i have the same error on a winwdows box but not on a mac
from browserless.
Related Issues (20)
- Installing browserless via npm throws an error HOT 1
- browserless not using proxy server HOT 1
- Failed with vercel deployments or pkg bundling HOT 1
- v9 iteration
- cursor emulation support
- Using SocksProxyAgent fails HOT 3
- Error in top-user-agent module HOT 1
- Sample from documentation site not working out of the box HOT 1
- Lighthouse: images for desktop reports returning mobile interface HOT 6
- Problem with screenshot. HOT 1
- Add types HOT 4
- Add `@browserless/screencast`
- function: beware about memory limits
- feat(function): use a thread instead of a process
- typescript support? HOT 1
- 'Technical Details' section missing (?) HOT 1
- BrowserlessError: EBRWSRTIMEOUT, Promise timed out after 30000 milliseconds HOT 5
- Access to Dynamic Content? HOT 9
- TimeoutError: Timed out after 60000 ms while waiting for the WS endpoint URL to appear in stdout! HOT 3
- Devices with isMobile cause empty screenshots HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from browserless.