Cannot read properties of undefined when loading decap-cms-backend-gitlab #7320
Labels
type: bug
code to address defects in shipped code
Content-Length: 212925 | pFad | http://github.com/decaporg/decap-cms/issues/7320
E7Fetched URL: http://github.com/decaporg/decap-cms/issues/7320
Alternative Proxies:
Describe the bug
When I serve
index.html
andconfig.yml
listed below with a test webserver (for examplepython3 -m http.server
then open http://localhost:8000) I get:Additionally if I add:
it fails with:
To Reproduce
index.html
:Expected behavior
I expected the module to load and add
DecapCmsBackendGitlab
to the global scope the waynetlify-cms-backend-gitlab.js
would do forNetlifyCmsBackendGitlab
, but it doesn't.Screenshots
The UI seems to load fine though:
Applicable Versions:
CMS configuration
Additional context
We have forked
decap-cms-backend-gitlab
as let's saydecap-cms-backend-gitlab-forked
and we were trying to load it as in:and started getting similar errors.
So I wondered "is it our fork or upstream?" and tried loading your version (I know it's not strictly required, as the gitlab backend is built-in).
The text was updated successfully, but these errors were encountered: