mpx-cli icon indicating copy to clipboard operation
mpx-cli copied to clipboard

TypeError: process.stdout.clearLine is not a function

Open mariohuq opened this issue 4 years ago • 0 comments

>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)
--------------------------------------------------------------------------------

mariohuq avatar Oct 07 '21 13:10 mariohuq