Giter Site home page Giter Site logo

Error: write EPIPE about zeplin-html-to-pdf HOT 4 CLOSED

zeplin avatar zeplin commented on August 12, 2024
Error: write EPIPE

from zeplin-html-to-pdf.

Comments (4)

dirtybit avatar dirtybit commented on August 12, 2024

The reason is you don't have wkhtmltopdf executable in your PATH, so the script tries to use the one in this repository. wkhtmltopdf in this repo is compatible with the AWS Lambda runtime (static linux-x86-64 build).

Once you install wkhtmltopdf and have it in PATH, it should work.

from zeplin-html-to-pdf.

gduggirala avatar gduggirala commented on August 12, 2024

Thank you for response.. I did what you have suggested but I still get the same error... here are some logs..

which wkhtmltopdf
/usr/bin/wkhtmltopdf

And the console path when I printed this is the O/P

/home/xxxxx/jdk1.8.0_102/bin:/home/xxxxx/Android/Sdk/tools:/home/xxxx/jdk1.8.0_102/bin:/home/xxxx/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: write EPIPE
    at exports._errnoException (util.js:911:11)
    at WriteWrap.afterWrite (net.js:785:14)

from zeplin-html-to-pdf.

biswarupchakravarty avatar biswarupchakravarty commented on August 12, 2024

@gduggirala I managed to get around it by downloading a latest copy of wkhtmltopdf (the 64bit Linux version) from their downloads page.

I also went from changed this line to read var proc = spawn("/bin/sh", ["-o", "pipefail", "-c", "./wkhtmltopdf - - " + options.join(" ") + " | cat"]);, thereby just reading the local copy of the file.

from zeplin-html-to-pdf.

dorukgunes avatar dorukgunes commented on August 12, 2024

I am closing this issue due to inactivity, we also released a major update, feel free to reopen the issue if you encounter this problem again.

from zeplin-html-to-pdf.

Related Issues (13)

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.