Skip to content
This repository was archived by the owner on Apr 16, 2026. It is now read-only.
This repository was archived by the owner on Apr 16, 2026. It is now read-only.

Uncaught TypeError: (intermediate value)(...) is not a function #3476

@li8

Description

@li8

When I initialize the codemirror editor in my application , I get

    Uncaught TypeError: (intermediate value)(...) is not a function

On further testing , I found that the issue only persisted while loading the elm mode.
You can check it out here : https://codemirror.net/demo/loadmode.html
On changing the file extension to 'elm', the error is shown in the console.

In my application , this error becomes a blocker. After this error pops up , the CodeMirror Editor stop loading any mode at all. I have tested it on other applications, it gives the error for elm but still continue to work.

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