ueberdosis/tiptap · error · Error

There is no node type named '${nameOrType}'. Maybe you forgo

Error message

There is no node type named '${nameOrType}'. Maybe you forgot to add the extension?

What it means

Error "There is no node type named '${nameOrType}'. Maybe you forgot to add the extension?" thrown in ueberdosis/tiptap.

Source

Thrown at packages/core/src/helpers/getNodeType.ts:6

import type { NodeType, Schema } from '@tiptap/pm/model'

export function getNodeType(nameOrType: string | NodeType, schema: Schema): NodeType {
  if (typeof nameOrType === 'string') {
    if (!schema.nodes[nameOrType]) {
      throw Error(
        `There is no node type named '${nameOrType}'. Maybe you forgot to add the extension?`,
      )
    }

    return schema.nodes[nameOrType]
  }

  return nameOrType
}

View on GitHub (pinned to 496d53afd7)

When it happens

Trigger: Thrown at packages/core/src/helpers/getNodeType.ts:6 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/52e60aa35f024a41. Report an issue: GitHub.