unstable
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)
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
I am using macOS sierra chrome v61 and get error with http://grapesjs.com/demo.html. Yeah I am using v0.10.8 because of #440
ok then, let's focus on #440 first because I'm not gonna provide fixes for older versions
I found the problem. One of my chrome extension (I think it is Backbone Inspector) causes the problem. Issue can be closed
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.