Skip to content

Fails in new node versions #28

Description

@YonatanKra

Running a simple test gives the error before the test runs:

Details:

    /node_modules/clet/lib/validator.js:80
    var _filename = (0, _dirnameFilenameEsm.filename)(import.meta);
                                                             ^^^^

    SyntaxError: Cannot use 'import.meta' outside a module

This happens after I've solved the rest of the ESM issues that are happening when running this with Jest.
Do you have some configuration in which this is working?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions