Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read properties of undefined (reading 'path') #6695

Closed
D41191630 opened this issue Feb 20, 2023 · 2 comments
Closed

TypeError: Cannot read properties of undefined (reading 'path') #6695

D41191630 opened this issue Feb 20, 2023 · 2 comments

Comments

@D41191630
Copy link

Describe the bug

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

  • Netlify CMS version: netlify-cms@2.10.192
  • Git provider: github
  • Browser version: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36

CMS configuration

backend:
  name: github
  repo: D41191630/Angular_Project_Test_CMS
  branch: master
  site_domain: netlifyangulardemo.netlify.app
  use_graphql: true
publish_mode: editorial_workflow
show_preview_links: true
display_url: https://netlifyangulardemo.netlify.app/
logo_url: https://netlifyangulardemo.netlify.app//uploads/logo.jpg
media_folder: src
public_folder: ../src
collections:
  - name: images
    label: images
    label_singular: image
    folder: _image
    editor:
      preview: false
    description: These are your existing blog posts. Click -New Post- to create a new post.
    create: true
    media_folder: /uploads
    public_folder: ../uploads
    summary: "{{title}} - {{day}}/{{month}}/{{year}}"
    preview_path: "{{year}}/{{month}}/{{day}}/{{title}}"
    slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
    fields:
      - label: Layout
        name: layout
        widget: hidden
        default: post
      - label: Title
        name: title
        widget: string
      - label: Publish Date
        name: date
        widget: datetime
      - label: Featured Image
        name: image
        widget: image
        required: false
        hint: This image will appear at the top of your post in the listing but over the
          feature image on the article's page.
      - label: Title text colour over the feature image
        name: title_color
        widget: color
        required: false
        default: "#ffffff"
        hint: The text is white by default, but you can change the colour to get more
          contrast against the image.
      - label: Caption
        name: caption
        widget: string
        required: false
      - label: Comments
        name: comments
        widget: boolean
        default: false
        required: false
        hint: Only if you setup your Disqus account will this allow comments. If you
          don't want comments for this post then turn this off.
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - date
      - commit_author
    view_filters: []
    view_groups: []
slug:
  encoding: unicode
  clean_accents: false
  sanitize_replacement: "-"
isFetching: false
error: null

Additional context

@martinjagodic
Copy link
Member

Can you provide more details? I cloned your repo but there is no config like this.

@stale
Copy link

stale bot commented Apr 26, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the status: stale label Apr 26, 2023
@martinjagodic martinjagodic closed this as not planned Won't fix, can't repro, duplicate, stale Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants