unstable
Question
In my machine grapesjs is unstable. Generally at first request throws below error. After refreshing one or two times, it works. Bug exists in all versions I used.
Uncaught TypeError: Cannot read property 'componentTypes' of undefined at F.i.renderChildren (grapes.min.js:2) at F.i.render (grapes.min.js:2) at F.i.addToCollection (grapes.min.js:2) at grapes.min.js:2 at Function.C.each.C.forEach (grapes.min.js:2) at F.i.each (grapes.min.js:2) at F.i.render (grapes.min.js:2) at F.i.renderChildren (grapes.min.js:2) at F.i.render (grapes.min.js:2) at F.i.addToCollection (grapes.min.js:2)
Answers (3)
I found the problem. One of my chrome extension (I think it is Backbone Inspector) causes the problem. Issue can be closed
Another error is;
components.js:169 Uncaught TypeError: Cannot read property 'defaultTypes' of undefined at child.renderChildren (components.js:169) at child.render (components.js:212) at child.addToCollection (ComponentsView.js:65) at ComponentsView.js:107 at Function..each..forEach (underscore.js:153) at child.each (backbone.js:87) at child.render (ComponentsView.js:107) at child.renderChildren (ComponentView.js:315) at child.render (ComponentView.js:349) at Object.render (index.js:386)
Weird, never got those issues, but if you see defaultTypes in components.js you're definitely working with an old version of grapesjs
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1520
[Bug] On this.components() Error : Uncaught TypeError: Cannot read property 'each' of undefined
Get below error for this.components() not sure if it is bug or I am doing something wrong. Uncaught TypeError: Cannot read property 'each'...
Issue #1614
[Bug]: adding css variables as style manager property
trying to add css variable to style manager causing error: Uncaught TypeError: Cannot read property 'toUpperCase' of undefined fiddle Am i...
Issue #1288
Cannot read property 'body' of null - Angular
Hi, I have a list of email template (page 'templates') and there is a button that open the edit (page 'templates/edit/:templateId'. All wor...
Issue #1502
[Bug] Creating multiple child element after editing using RTE
Hi All, I am getting below issues which are related to RTERTE creating multiple child's as action performed on text block. Ex:- suppose we...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.