Netlify-cms: TypeError: e.join is not a function. (In 'e.join(",")', 'e.join' is undefined)

Created on 12 May 2020  路  4Comments  路  Source: netlify/netlify-cms

Describe the bug

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

  • Netlify CMS version: [email protected]
  • Git provider: github
  • Browser version: Mozilla/5.0 (iPad; CPU OS 13_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/80.0.3987.95 Mobile/15E148 Safari/604.1

CMS configuration

publish_mode: editorial_workflow
slug:
  encoding: unicode
  clean_accents: false
  sanitize_replacement: "-"
backend:
  name: github
  repo: gizipp/blog.gizipp.com
  branch: master
media_folder: img/uploads
collections:
  - meta: null
    name: post
    slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
    folder: _posts
    publish: true
    sortableFields:
      - commit_date
      - title
      - commit_author
    label: Post
    fields:
      - label: Layout
        name: layout
        widget: hidden
        default: post
      - label: Title
        name: title
        widget: string
        tagname: h1
      - label: Description
        name: desc
        widget: string
      - label: Body
        name: body
        widget: markdown
      - label: Category
        name: category
        widget: list
        required: false
      - label: Tags
        name: tags
        widget: list
        required: false
      - label: Last Modifed At
        name: last_modified_at
        widget: date
        format: YYYY-MM-DD
    create: true
    sort: last_modified_at:asc
public_folder: /img/uploads

Additional context

Most helpful comment

@seshaljain @erezrokah

The issue only happens in a specific post. Sorry, I can't reproduce the issue. I fixed it by make sure the front matter YML in the post correctly matched with Netlify format.

All 4 comments

I think there is an error with your CMS config, I had the exact error just now and came here to ask about it

This config seems to work with the test-repo: https://codepen.io/seshaljain/pen/abvKGVJ

Hi @gizipp, can you follow the issue template and provide a reproduction scenario?

@seshaljain @erezrokah

The issue only happens in a specific post. Sorry, I can't reproduce the issue. I fixed it by make sure the front matter YML in the post correctly matched with Netlify format.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BerkeleyTrue picture BerkeleyTrue  路  3Comments

ghost picture ghost  路  3Comments

zebapy picture zebapy  路  3Comments

marcojakob picture marcojakob  路  3Comments

kalwalt picture kalwalt  路  3Comments