grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

unstable

Open ateshuseyin opened this issue 9 years ago • 6 comments

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)

ateshuseyin avatar Oct 20 '17 13:10 ateshuseyin

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)

ateshuseyin avatar Oct 20 '17 13:10 ateshuseyin

Weird, never got those issues, but if you see defaultTypes in components.js you're definitely working with an old version of grapesjs

artf avatar Oct 23 '17 12:10 artf

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

ateshuseyin avatar Oct 24 '17 12:10 ateshuseyin

ok then, let's focus on #440 first because I'm not gonna provide fixes for older versions

artf avatar Oct 24 '17 13:10 artf

I found the problem. One of my chrome extension (I think it is Backbone Inspector) causes the problem. Issue can be closed

ateshuseyin avatar Nov 16 '17 13:11 ateshuseyin

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.

lock[bot] avatar Sep 18 '19 07:09 lock[bot]