Developer-Plexscape / ngx-grapesjs

Angular wrapper library for GrapesJS
MIT License
15 stars 4 forks source link

upgrade to Angular 15 and GrapesJS to 0.21.1 #17

Closed iklimisdev closed 1 year ago

bampakoa commented 1 year ago

I tried to run the local demo application and when I select Webpage editor mode I get the following message in the browser console:

core.mjs:8416 ERROR TypeError: Cannot set property defaults of [object Object] which has only a getter
    at node_modules\grapesjs\dist\grapes.min.js:2:347571
    at Module.Vt (node_modules\grapesjs\dist\grapes.min.js:2:347800)
    at Function.q [as extend] (node_modules\grapesjs\dist\grapes.min.js:2:30116)
    at t.default (node_modules\grapesjs-preset-webpage\dist\grapesjs-preset-webpage.min.js:4:6149)
    at node_modules\grapesjs-preset-webpage\dist\grapesjs-preset-webpage.min.js:4:1383
    at node_modules\grapesjs-preset-webpage\dist\grapesjs-preset-webpage.min.js:2:3371
    at node_modules\grapesjs\dist\grapes.min.js:2:943400
    at Array.forEach (<anonymous>)
    at Object.init (node_modules\grapesjs\dist\grapes.min.js:2:943235)
    at NgxWebpageEditorComponent.setup (editor.component.ts:26:21)
iklimisdev commented 1 year ago

@bampakoa I bumped GrapesJs to the latest alongside with the codependent libraries