Skip to content

There was an error using the extension #666

@KeyToLove

Description

@KeyToLove

Bug report

Packages affected

  • sandpack-client
  • sandpack-react

Description of the problem

when i use Codemirror extensions in the CodeEditor component like this

<Sandpack
  options={{
    codeEditor: {
      extensions: [autocompletion()],
      extensionsKeymap: [completionKeymap],
    },
  }}
  template="react"
/>

but console show me below errors , how can i fix up this problem :(
image

What were you doing when the problem occurred?

#286 (comment)

What steps can we take to reproduce the problem?

Link to sandbox: link (optional)

Your Environment

Software Name/Version
Sandpack-client version
Sandpack-react version
Browser
Operating System

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNew issues that needs consideration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions