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

TypeError: process.stdout.clearLine is not a function #4

Open
mariohuq opened this issue Oct 7, 2021 · 0 comments
Open

TypeError: process.stdout.clearLine is not a function #4

mariohuq opened this issue Oct 7, 2021 · 0 comments

Comments

@mariohuq
Copy link

mariohuq commented Oct 7, 2021

>mpx --version
0.4.0

I run this:

>mpx convert --verbose "xxx.png" "xxx.mmd"

And get this:

Source: xxx.png
Destination: xxx.mmd
Options: { pdfMethod: 'latex', verbose: true }
Convert with snip api xxx.png xxx.mmd mmd
There was an unexpected error, you can try again or if it continues please submit
an issue to https://github.com/mathpix/mpx-cli/issues including the output below:
--------------------------------------------------------------------------------
TypeError: process.stdout.clearLine is not a function
    at ConvertImageWithSnipAPI (<PATH_TO_NPM>\npm\node_modules\@mathpix\mpx-cli\lib\convert.js:492:18)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async ConvertImage (<PATH_TO_NPM>\npm\node_modules\@mathpix\mpx-cli\lib\convert.js:596:5)
    at async Object.ImageToMMD (<PATH_TO_NPM>\npm\node_modules\@mathpix\mpx-cli\lib\convert.js:607:3)
    at async Command.<anonymous> (<PATH_TO_NPM>\npm\node_modules\@mathpix\mpx-cli\lib\mpx.js:171:11)
--------------------------------------------------------------------------------
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

1 participant