This repository has been archived by the owner on Mar 22, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 242
run curl http://localhost:3000/?url=www.google.com > google.png get error #81
Comments
Same Here :-
|
This is happening because we are using PhantomJs 2+. To fix this issue, go to ./screenshot-as-a-service/scripts/rasterizer.js And add these LOC at the top :-
|
@varundbest Thank you. Your code added to the top of ./screenshot-as-a-service/scripts/rasterizer.js made it work. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Error
at Request._callback (/home/app/screenshot-as-a-service/routes/index.js:82:25)
at Request.self.callback (/home/app/screenshot-as-a-service/node_modules/request/main.js:119:22)
at Request. (/home/app/screenshot-as-a-service/node_modules/request/main.js:212:58)
at emitOne (events.js:77:13)
at Request.emit (events.js:169:7)
at ClientRequest.self.clientErrorHandler (/home/screenshot-as-a-service/node_modules/request/main.js:209:10)
at emitOne (events.js:77:13)
at ClientRequest.emit (events.js:169:7)
at Socket.socketErrorListener (_http_client.js:267:9)
at emitOne (events.js:77:13)
The text was updated successfully, but these errors were encountered: