Skip to content

asciinema-player 3.8.0 fails with exports #32

@jvalkeal

Description

@jvalkeal

We get something like:

[14:07:34.284] FATAL (antora): Package subpath './dist/bundle/asciinema-player.min.js' is not defined by "exports" in /home/jvalkealahti/repos/spring/spring-cli/docs-build/.gradle/npm/_npx/4d870f89192857f1/node_modules/asciinema-player/package.json
    code: "ERR_PACKAGE_PATH_NOT_EXPORTED"
    type: "Error"

Caused by asciinema/asciinema-player@8d3a7fe as we load minified js via antora and I think it uses require. Asciinema prior 3.8.0 didn't have exports in package.json.

Think it's coming from here

'asciinema-player/dist/bundle/asciinema-player.min.js',

Need to think if we pin version while searching a fix.

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