Skip to content

Error when batch converting #2

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

Open
f6v opened this issue Jul 11, 2017 · 2 comments
Open

Error when batch converting #2

f6v opened this issue Jul 11, 2017 · 2 comments

Comments

@f6v
Copy link

f6v commented Jul 11, 2017

I'm running batch convert to pdf but always get following error:

 if (fn === null) throw new Error("Callback was already called.");---------------] 0%  Starting...
                             ^  ->  pdf  [--------------------------------------------------] 0%  Starting...
Starting...
Error: Callback was already called.
    at /usr/local/lib/node_modules/cloudconvert-cli/node_modules/async/lib/async.js:43:36
    at /usr/local/lib/node_modules/cloudconvert-cli/node_modules/async/lib/async.js:358:17
    at Process.<anonymous> (/usr/local/lib/node_modules/cloudconvert-cli/lib/cli.js:50:13)
    at emitOne (events.js:115:13)
    at Process.emit (events.js:210:7)
    at /usr/local/lib/node_modules/cloudconvert-cli/node_modules/cloudconvert/lib/api.js:193:41
    at /usr/local/lib/node_modules/cloudconvert-cli/node_modules/cloudconvert/lib/process.js:269:17
    at /usr/local/lib/node_modules/cloudconvert-cli/node_modules/cloudconvert/lib/process.js:138:17
    at Request._callback (/usr/local/lib/node_modules/cloudconvert-cli/node_modules/cloudconvert/lib/api.js:46:17)
    at Request.self.callback (/usr/local/lib/node_modules/cloudconvert-cli/node_modules/request/request.js:188:22)

Node version: v8.1.3

What could the issue be?

@josiasmontag
Copy link
Contributor

Might be related to cloudconvert/cloudconvert-node#14
Can you try if it is resolved after updating using npm install -g cloudconvert-cli?

@f6v
Copy link
Author

f6v commented Jul 11, 2017

@josiasmontag thanks for your response! I've updated, but still getting it.

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