ueberdosis/tiptap · error

[tiptap warn]: prosemirror-model is loaded more than once. W

Error message

[tiptap warn]: prosemirror-model is loaded more than once. Wrapping and splitting nodes will fail. Deduplicate it in your lock file, or alias it to a single copy in your bundler.

What it means

Error "[tiptap warn]: prosemirror-model is loaded more than once. Wrapping and splitting nodes will fail. Deduplicate it in your lock file, or alias it to a single copy in your bundler." thrown in ueberdosis/tiptap.

Source

Thrown at packages/core/src/helpers/warnOnDuplicatedProseMirrorModel.ts:37

  hasChecked = true

  let content

  try {
    // prosemirror-transform fills this step with the prosemirror-model it resolved
    // itself, so a foreign fragment means a second copy is loaded.
    content = ReplaceStep.fromJSON(schema, { from: 0, to: 0 }).slice.content
  } catch {
    // A warning we cannot stand behind is worse than no warning.
    return
  }

  if (content instanceof Fragment) {
    return
  }

  console.warn(
    '[tiptap warn]: prosemirror-model is loaded more than once. Wrapping and splitting nodes will fail. Deduplicate it in your lock file, or alias it to a single copy in your bundler.',
  )
}

View on GitHub (pinned to 496d53afd7)

When it happens

Trigger: Thrown at packages/core/src/helpers/warnOnDuplicatedProseMirrorModel.ts:37 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of ueberdosis/tiptap@496d53afd7 (2026-08-26). Data as JSON: /api/errors/0ab3e361e2bd2ec7. Report an issue: GitHub.