I kept encountering an issue with the CLI. An error occurred: 'ERR_REQUIRE_ESM'.
I managed to create a workaround by avoiding the CLI and using the library instead. I set up a node project in a repository to convert all documents in a folder.
The error can be reproduced by cloning the project and running npm run cli.
https://gitlab.com/catEvasion/latex.js-setup
I kept encountering an issue with the CLI. An error occurred: 'ERR_REQUIRE_ESM'.
I managed to create a workaround by avoiding the CLI and using the library instead. I set up a node project in a repository to convert all documents in a folder.
The error can be reproduced by cloning the project and running
npm run cli.https://gitlab.com/catEvasion/latex.js-setup