question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: e.join is not a function

See original GitHub issue

To Reproduce

Steps to reproduce the behavior:

  1. Login
  2. Open any post

Screenshots capture

Applicable Versions:

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:closed
  • Created 5 years ago
  • Comments:8

github_iconTop GitHub Comments

4reactions
tomrutgerscommented, Oct 12, 2018

Your list widgets (tags and categories) do not have field or fields defined.

- label: "Tags"
  name: "tags"
  widget: "list"
  field: {label: "Tag", name: "tag_name", widget: "string"}
1reaction
steaksciencecommented, Jul 27, 2019

I’m also running into this issue with a list widget in my custom widget:

fields: [{label: "Images", name: "id", widget: "list", field: {label: "Image", name: "galleryImage", widget: "image"}}],

Does anyone know a fix for this?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found