decaporg / decap-cms

A Git-based CMS for Static Site Generators
https://decapcms.org
MIT License
17.65k stars 1 forks source link

TypeError: Cannot destructure property 'decorations' of 'It' as it is undefined. #7191

Open aristocratious opened 2 months ago

aristocratious commented 2 months ago

Describe the bug

I just created the astro-decap-cms-starter using the Netlify button and setup Identity and git gateway. Then after logging in and clicking new post, I get this error immediately:

TypeError: Cannot destructure property 'decorations' of 'It' as it is undefined. at cr (/hoisted.4baacd68.js:2119:4890) at fr (/hoisted.4baacd68.js:2121:2457) at dl (/hoisted.4baacd68.js:30:55233) at $u (/hoisted.4baacd68.js:34:9308) at Uu (/hoisted.4baacd68.js:34:999) at Ku (/hoisted.4baacd68.js:34:927) at ou (/hoisted.4baacd68.js:34:777) at Cu (/hoisted.4baacd68.js:32:11429) at /hoisted.4baacd68.js:30:39916 at O.unstable_runWithPriority (/hoisted.4baacd68.js:19:3938)

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

CMS configuration

load_config_file: false
local_backend: true
backend:
  name: git-gateway
  branch: latest
media_folder: public/assets/blog
public_folder: /assets/blog
collections:
  - name: posts
    label: Blog Posts
    label_singular: Blog Post
    folder: src/pages/posts
    create: true
    delete: true
    fields:
      - name: title
        widget: string
        label: Post Title
      - name: publishDate
        widget: datetime
        format: DD MMM YYYY
        date_format: DD MMM YYYY
        time_format: false
        label: Publish Date
      - name: author
        widget: string
        label: Author Name
        required: false
      - name: authorURL
        widget: string
        label: Author URL
        required: false
      - name: description
        widget: string
        label: Description
        required: false
      - name: body
        widget: markdown
        label: Post Body
      - name: layout
        widget: select
        default: ../../layouts/BlogPost.astro
        options:
          - label: Blog Post
            value: ../../layouts/BlogPost.astro
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - publishDate
      - author
      - description
    view_filters: []
    view_groups: []
publish_mode: simple
slug:
  encoding: unicode
  clean_accents: false
  sanitize_replacement: "-"
isFetching: false
error: null

Additional context