decaporg/decap-cms

TypeError: marked is not a function

syukrie77 opened this issue · 1 comments

Describe the bug

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

  • Netlify CMS version: netlify-cms-app@2.15.72
  • Git provider: git-gateway
  • Browser version: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36

CMS configuration

backend:
  name: git-gateway
  branch: main
local_backend: true
media_folder: static/img
public_folder: /img
collections:
  - name: projects
    label: Projects
    folder: src/pages/projects
    filter:
      field: templateKey
      value: project-page
    create: true
    slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
    summary: "{{title}} {{year}}-{{month}}-{{day}} {{fields.featured}}"
    fields:
      - label: Template Key
        name: templateKey
        widget: hidden
        default: project-page
      - label: Title
        name: title
        widget: string
      - label: Publish Date
        name: date
        widget: datetime
      - label: Featured
        name: featured
        widget: boolean
      - label: Featured Image
        name: featuredimage
        widget: object
        fields:
          - label: Image
            name: image
            widget: image
          - label: Alt
            name: alt
            widget: string
      - label: Location
        name: location
        widget: string
      - label: Body
        name: body
        widget: markdown
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - date
      - commit_author
    view_filters: []
    view_groups: []
  - name: pages
    label: Pages
    files:
      - file: src/pages/index.md
        label: Landing Page
        name: index
        fields:
          - label: Template Key
            name: templateKey
            widget: hidden
            default: index-page
          - label: Title
            name: title
            widget: string
          - label: Image
            name: image
            widget: image
          - label: Heading
            name: heading
            widget: string
          - label: Subheading
            name: subheading
            widget: string
          - label: About
            name: tentang
            widget: object
            fields:
              - label: Heading
                name: heading
                widget: string
              - label: Description
                name: description
                widget: text
              - label: Image
                name: image
                widget: object
                fields:
                  - label: Image
                    name: image
                    widget: image
                  - label: Alt
                    name: alt
                    widget: string
              - label: Button
                name: button
                widget: object
                fields:
                  - label: Label
                    name: label
                    widget: string
                  - label: URL
                    name: url
                    widget: string
      - file: src/pages/projects/index.md
        label: Projects
        name: projects-index
        fields:
          - label: Template Key
            name: templateKey
            widget: hidden
            default: projects-page
          - label: Title
            name: title
            widget: string
          - label: Heading
            name: heading
            widget: string
          - label: Subheading
            name: subheading
            widget: string
      - file: src/pages/tentang-kami/index.md
        label: About
        name: tentang
        fields:
          - label: Template Key
            name: templateKey
            widget: hidden
            default: about-page
          - label: Title
            name: title
            widget: string
          - label: Heading
            name: heading
            widget: string
          - label: Subhead
...

Hi @syukrie77, please fill out all the fields in the issue template. The information you provided is not enough to debug the problem.

I'm closing the issue for now. Once you add the missing information, I can open it again.