Skip to content

The CodeMirror example is broken because a new version of @codemirror/state was pushed that introduces a new dependency #96

@jurjanpaul

Description

@jurjanpaul

https://babashka.org/scittle/codemirror.html does not work at the moment.

The following error is logged to console: Uncaught TypeError: Failed to resolve module specifier "@marijn/find-cluster-break". Relative references must start with either "/", "./", or "../".

It turns out that a new version of @codemirror/state was released 2024-12-09 that relies on this new dependency "@marijn/find-cluster-break" and since the example does not pin the codemirror modules to a specific version, the new version is loaded and does not find its dependency.

[Discovered this when wanting to continue with my own CodeMirror 6 Parinfer experiments.]

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