TypeError: e.join is not a function
See original GitHub issueTo Reproduce
Steps to reproduce the behavior:
- Login
- Open any post
Screenshots
Applicable Versions:
- Netlify CMS version: 2 (https://cdn.jsdelivr.net/npm/netlify-cms@2/dist/netlify-cms.min.js)
- Git provider: Gitlab
- Generator: Hexo
CMS configuration
backend:
name: gitlab
repo: xxxx/xxxxx # Path to your GitLab repository
display_url: https://www.xxxx.com
media_folder: "images/uploads"
public_folder: "/images/uploads"
collections:
- name: "posts" # Used in routes, e.g., /admin/collections/blog
label: "Post" # Used in the UI
folder: "source/_posts" # The path to the folder where the documents are stored
create: true # Allow users to create new documents in this collection
slug: "{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
fields: # The fields for each document, usually in front matter
- {label: "Layout", name: "layout", widget: "hidden", default: "blog"}
- {label: "Title", name: "title", widget: "string"}
- {label: "Categories", name: "categories", widget: "list"}
- {label: "Tags", name: "tags", widget: "list"}
- {label: "Publish Date", name: "date", widget: "datetime"}
- {label: "Body", name: "body", widget: "markdown"}
Issue Analytics
- State:
- Created 5 years ago
- Comments:8
Top Results From Across the Web
Join is not a function - Stack Overflow
join () is an array-function, you cannot use it on a string: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Array/join.
Read more >TypeError: join is not a function in JavaScript | bobbyhadz
The "TypeError: join is not a function" occurs when we call the join() method on a value that is not an array. To...
Read more >TypeError: keywords.join is not a function
I get an error (TypeError: keywords.join is not a function) on below code of Gatsbyjs project, inside seo.js file .concat( keywords.length > ...
Read more >TypeError: "x" is not a function - JavaScript - MDN Web Docs
The JavaScript exception "is not a function" occurs when there was an attempt to call a value from a function, but the value...
Read more >Uncaught TypeError | Is Not A Function | Solution - YouTube
Have you encountered an error like:- Uncaught TypeError - Some selector is not a function - jQuery is not a function - owlCarousel...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Your list widgets (tags and categories) do not have
field
orfields
defined.I’m also running into this issue with a list widget in my custom widget:
Does anyone know a fix for this?