Find Jobs
Hire Freelancers

Small Node Zipfile Library Fix

£10-20 GBP

Closed
Posted over 3 years ago

£10-20 GBP

Paid on delivery
Hi, I'm working with a library that extracts cover images from epubs (just a small personal project.) using a node library. Some context: Epubs work like zip files, in fact, if you change the name from <name>.epub to <name>.zip you can open it just like an zip file, and take out all the photos, text, or whatever. The library I'm working with is called epub-image-extractor and is a simple library. Here's the link [login to view URL] The problem: This library uses the another library called yauzl which is a zip file manager and for some reason is firing the "end" event instead of the "entry" event. It's likely a very simple fix, and will likely just require looking through the docs for the Yauzl library, but I don't currently have time. I've included some images to demonstrate Points to note in the images: - coverPath variable is correct (the path to the cover photo in the epub file) - zipFile variable seems to contain the epub - [login to view URL]() seems to be where the issue is - underneath [login to view URL]() there are two event listeners (end and entry), and the wrong one is being called (the is what needs debugging), leading to the "Cover image not found" error being thrown Here's the docs for yauzl and the epud library again [login to view URL] [login to view URL] P.S. there's a good chance I'll be doing more projects with Node in the future Thanks
Project ID: 26856725

About the project

4 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average £19 GBP for this job
User Avatar
What happened? Is this still open? I have came across many such instances with stream and event firing in past, I am debugging your project right now, do chat with me, no need to pay upfront just stay in touch Also epub is same as a zip is a new learning for me! thanks for that Just saw your screenshot, this exactly is a stream error Ah super sad I can't find an epub with cover image? Do you have one can you send over chat? I would really like to do more projects with you in future
£20 GBP in 1 day
5.0 (2 reviews)
1.3
1.3
User Avatar
I have experience with yauzl. I would be able to fix this issue for you. I can work on it immediately. Looking forward to discuss
£20 GBP in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, client! I read your project very detailed description carefully and also checked the screenshots. Actually I have experienced yauzl library so I feel confident about your project. Let's have a chat and resolve it right now. Best regards.
£20 GBP in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Good day, I will gladly help you with your project. I am a experienced NodeJS/NestJS developer and think this should be an easy fix (as you mentioned). I can start immediately once the project is awarded to me. Greetings Matthias
£15 GBP in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
Clitheroe, United Kingdom
5.0
4
Payment method verified
Member since Jun 25, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.