-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Description
Describe the bug
Getting t.get is not a function at new npe when opening up a collection. I am not sure if this is error happens because of my incorect setup/config, of this is a genuine issue.
Details
TypeError: t.get is not a function at new npe (https://unpkg.com/decap-cms@%5E3.0.0/dist/decap-cms.js:464:37972) at js (https://unpkg.com/decap-cms@%5E3.0.0/dist/decap-cms.js:5:721919) at Xs (https://unpkg.com/decap-cms@%5E3.0.0/dist/decap-cms.js:5:731984) at Xu (https://unpkg.com/decap-cms@%5E3.0.0/dist/decap-cms.js:5:769131) at Ku (https://unpkg.com/decap-cms@%5E3.0.0/dist/decap-cms.js:5:769060) at Gu (https://unpkg.com/decap-cms@%5E3.0.0/dist/decap-cms.js:5:768902) at ju (https://unpkg.com/decap-cms@%5E3.0.0/dist/decap-cms.js:5:765711) at Sc (https://unpkg.com/decap-cms@%5E3.0.0/dist/decap-cms.js:5:780026) at MessagePort.A (https://unpkg.com/decap-cms@%5E3.0.0/dist/decap-cms.js:2:1721401)
To Reproduce
Request access for https://a-plan-b.netlify.app/admin/, then click on the only collection
Expected behavior
No error shown
Screenshots
Applicable Versions:
- Decap CMS version:
[email protected] - Git provider:
git-gateway - Browser version:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36
CMS configuration
backend:
name: git-gateway
branch: main
media_folder: images/uploads
public_folder: /images/uploads
collections:
- name: pages
label: Pages
files:
- file: PlanasB_landing_page.html
label: Planas B Landing Page 1
name: planasb_landing_page_1
editor:
preview: false
fields:
- label: HTML
name: body
widget: code
default_language: html
publish: true
type: file_based_collection
sortable_fields:
- commit_date
- commit_author
view_filters: []
view_groups: []
publish_mode: simple
slug:
encoding: unicode
clean_accents: false
sanitize_replacement: "-"
isFetching: false
error: null
Additional context
Index.html loads decap-cms@^3.0.0 and netlify-identity-widget.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="noindex" />
<title>Content Manager</title>
</head>
<body>
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
<!-- Include the script that builds the page and powers Decap CMS -->
<script src="https://unpkg.com/decap-cms@^3.0.0/dist/decap-cms.js"></script>
</body>
</html>
Metadata
Metadata
Assignees
Labels
No labels