shawnliujw / puppeteer-lambda

Module for using Headless-Chrome by Puppeteer on AWS Lambda.
MIT License
117 stars 20 forks source link

Error with unzipper #26

Closed pvlreyes closed 5 years ago

pvlreyes commented 5 years ago

Hi,

Thanks for this awesome work. I am trying to deploy it with my chrome in s3. but I am receiving an error while unzipping.

{"errorMessage":"invalid signature: 0x88b1f","errorType":"Error","stackTrace":["/opt/nodejs/node_modules/unzipper/lib/parse.js:62:26","tryCatcher (/opt/nodejs/node_modules/unzipper/node_modules/bluebird/js/release/util.js:16:23)"

Thanks in advance.

shawnliujw commented 5 years ago

@pvlreyes where u get the chrome zip file ? download from here ? or somewhere else

pvlreyes commented 5 years ago

@shawnliujw I download it from README file. The link you have provided returned access denied.

shawnliujw commented 5 years ago

@pvlreyes please try from https://github.com/adieuadieu/serverless-chrome/releases first , will also have a look the one from the README file .

shawnliujw commented 5 years ago

@pvlreyes https://github.com/adieuadieu/serverless-chrome/releases/download/v1.0.0-55/stable-headless-chromium-amazonlinux-2017-03.zip this one should work fine , the one in the README file is older which i forgot to update it after i upgrade the unzipper . thanks

pvlreyes commented 5 years ago

Yup tried that and it is working now. Thanks again. :)