Skip to content

NotFoundError: Node.removeChild: The node to be removed is not a child of this node #7278

@aloxe

Description

@aloxe

Describe the bug

I have an existing 11ty site where I added decap-cms with the config described below. It uses an External OAuth client which connects correctly without error message.
The first page of the editor is filled with a long error message containing

hl@https://unpkg.com/decap-cms@%5E3.0.0/dist/decap-cms.js:485:2233267 pl@https://unpkg.com/decap-cms@%5E3.0.0/dist/decap-cms.js:485:2232973 hl@https://unpkg.com/decap-cms@%5E3.0.0/dist/decap-cms.js:485:2233922 pl@https://

The the content is listed but only the first of the two assets (articles, decouverte) is shown. I don't see any error on this section of the config file. The error remains when I remove this part.

Screenshots

Applicable Versions:

  • Decap CMS version: decap-cms@3.3.3
  • Git provider: github
  • Browser version: Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0

CMS configuration

backend:
  name: github
  repo: aloxe/reunionweb
  branch: ecrire
  base_url: 
media_folder: src/static/img
collections:
  - name: articles
    label: Articles
    folder: src/pages/articles
    create: true
    fields:
      - label: Layout
        name: layout
        widget: hidden
        default: post
      - label: Title
        name: title
        widget: string
      - label: description
        name: description
        widget: string
      - label: keywords
        name: keywords
        widget: string
      - label: Publish Date
        name: date
        widget: datetime
        time_format: false
        date_format: YYYY-MM
        format: YYYY-MM
      - label: categorie
        name: categorie
        widget: select
        multiple: true
        options:
          - news
          - portails
          - blogs
        default:
          - news
      - label: Body
        name: body
        widget: markdown
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - date
      - commit_author
      - description
    view_filters: []
    view_groups: []
  - name: decouverte
    label: Découverte
    folder: src/pages/decouverte
    create: true
    fields:
      - label: Layout
        name: layout
        default: decouverte
      - label: Title
        name: title
        widget: string
      - label: description
        name: description
        widget: string
      - label: keywords
        name: keywords
        widget: string
      - label: Body
        name: body
        widget: markdown
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - commit_author
      - description
    view_filters: []
    view_groups: []
publish_mode: simple
slug:
  encoding: unicode
  clean_accents: false
  sanitize_replacement: "-"
public_folder: /src/static/img
isFetching: false
error: null

Additional context

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