Skip to content

'ERR_REQUIRE_ESM' when using CLI #149

@catEvasion

Description

@catEvasion

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions