Skip to content

NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child o... #7622

@oyuh

Description

@oyuh

Describe the bug
After installing by following the instructions, I deployed the site with the new CMS panel and was given this error on the/admin# prod page visit. I cannot log in when I use the button with the "Login with GitHub" (circled in blue in the screenshot). I get a "Not found" error. However, in my local development environment, I can access the page, but the error below appears above the actual page body.

To Reproduce
Install CMS on Astro with my configuration. Visit the prod sites /admin#

Expected behavior
This error should not be on the page. I should be able to use the Login with Github button and continue using the cms.

Screenshots

Image

Applicable Versions:

  • Decap CMS version: [email protected]
  • Git provider: github
  • Browser version: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36

CMS configuration

backend:
  name: github
  repo: oyuh/blog
  branch: master
local_backend: true
media_folder: public/images/uploads
public_folder: /images/uploads
collections:
  - name: post
    label: Blog Posts
    label_singular: Post
    folder: src/content/post
    create: true
    slug: "{{slug}}/index"
    path: "{{slug}}/index"
    media_folder: ""
    public_folder: ""
    preview_path: posts/{{slug}}
    fields:
      - label: Title
        name: title
        widget: string
        hint: Max 60 characters
        pattern:
          - ^.{1,60}$
          - Must be between 1 and 60 characters
      - label: Description
        name: description
        widget: string
        hint: Short description of the post
      - label: Publish Date
        name: publishDate
        widget: datetime
        format: DD MMM YYYY
        date_format: DD MMM YYYY
        time_format: false
      - label: Updated Date
        name: updatedDate
        widget: datetime
        format: DD MMM YYYY
        date_format: DD MMM YYYY
        time_format: false
        required: false
      - label: Tags
        name: tags
        widget: list
        default: []
        hint: Add tags for your post
      - label: Draft
        name: draft
        widget: boolean
        default: false
        hint: Set to true to hide this post
      - label: Cover Image
        name: coverImage
        widget: object
        required: false
        collapsed: true
        fields:
          - label: Image
            name: src
            widget: image
            required: false
          - label: Alt Text
            name: alt
            widget: string
            required: false
      - label: OG Image
        name: ogImage
        widget: string
        required: false
        hint: Custom Open Graph image URL
      - label: Try Link
        name: tryLink
        widget: string
        required: false
        hint: External link to try/use the product mentioned in the post
      - label: Body
        name: body
        widget: markdown
        hint: Write your post content here
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - publishDate
      - commit_author
      - description
    view_filters: []
    view_groups: []
    editor:
      preview: true
  - name: note
    label: Notes
    label_singular: Note
    folder: src/content/note
    create: true
    slug: "{{slug}}"
    preview_path: notes/{{slug}}
    fields:
      - label: Title
        name: title
        widget: string
        hint: Max 60 characters
        pattern:
          - ^.{1,60}$
          - Must be between 1 and 60 characters
      - label: Description
        name: description
        widget: string
        required: false
      - label: Publish Date
        name: publishDate
        widget: datetime
        picker_utc: true
        hint: ISO 8601 format with timezone
      - label: Body
        name: body
        widget: markdown
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - publishDate
      - commit_author
      - description
    view_filters: []
    view_groups: []
    editor:
      preview: true
editor:
  preview: true
display_url: https://lawsonhart.me
site_url: https://lawsonhart.me
publish_mode: simple
slug:
  encoding: unicode
  clean_accents: false
  sanitize_replacement: "-"
isFetching: false
error: null

Additional context
This is not a basic install of Astro; instead, this is a pretty configured and polished version of a personal blog site. If you need to see the source code for possible solutions to this issue, please let me know why, and I can give you permission to view the GitHub repo.

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