Skip to content

Issue when installing: No matching export for import "__serializeForClipboard" #695

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nathanbenhamou opened this issue Mar 20, 2025 · 1 comment

Comments

@nathanbenhamou
Copy link

Hello,

After installing (self-hosted > community version), when running yarn dev:

$ vite --mode development

  VITE v5.4.14  ready in 200 ms

  ➜  Local:   http://localhost:5173/
  ➜  Network: use --host to expose
  ➜  press h + enter to show help
✘ [ERROR] No matching export in "node_modules/@tiptap/pm/view/dist/index.js" for import "__serializeForClipboard"

    node_modules/@firecms/editor/dist/index.es.js:33:71:
      33 │ ...on as Decoration$1, __serializeForClipboard } from "@tiptap/pm...

As mentioned in this issue,

With the recent update to prosemirror-view (commit [29f4053](https://github.com/ProseMirror/prosemirror-view/commit/29f4053d228b031d1b029c8e11998b52a96ea047)), the __serializeForClipboard method was removed from the module exports. This change breaks functionality in our project, specifically where we import __serializeForClipboard from the @tiptap/pm/view package.

@nathanbenhamou nathanbenhamou changed the title No matching export for import "__serializeForClipboard" Issue when installing: No matching export for import "__serializeForClipboard" Mar 20, 2025
@mrdexign
Copy link

mrdexign commented Apr 21, 2025

Same issue here.
It might be a recent update thing.
Downgrading prosemirror-view from 1.39.1 to 1.37.1 fixed it for me.

npm install [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants