Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please help, I can't make example work #103

Open
mclxly opened this issue Feb 27, 2018 · 2 comments
Open

Please help, I can't make example work #103

mclxly opened this issue Feb 27, 2018 · 2 comments

Comments

@mclxly
Copy link

mclxly commented Feb 27, 2018

I clone the entire codebase to my computer. Run 'node example/index.js' after 'npm i':

events.js:188
      throw err;
      ^

Error: Unhandled "error" event. (gifsicle:<stdin>: empty file
)
    at Socket.emit (events.js:186:19)
    at Socket.gotSomeErrors (/data/gifify/index.js:53:23)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at addChunk (_stream_readable.js:263:12)
    at readableAddChunk (_stream_readable.js:250:11)
    at Socket.Readable.push (_stream_readable.js:208:10)
    at Pipe.onread (net.js:594:20)

@vvo
Copy link
Owner

vvo commented Feb 27, 2018

Just tried and it worked, maybe check you have the right dependencies?

gifified /Users/vvo/Dev/gifify/example/movie.mp4 to /Users/vvo/Dev/gifify/example/movie.gif

Also maybe checkout https://github.com/sindresorhus/gifski-app which is the latest cool kid on the block

@mclxly
Copy link
Author

mclxly commented Feb 28, 2018

@vvo Thank you! Command line it works but programmatic doesn't.

Btw, I'm going to build a web service to convert mp4 to gif.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants