Automattic / block-experiments

A monorepo of Block Experiments
127 stars 17 forks source link

Waves: Block breaks in the site editor #331

Open ajlende opened 11 months ago

ajlende commented 11 months ago

I'm getting this error when inserting the waves block in the site editor. It seems to work fine in the frontend and post editor.

Uncaught Error: unknown attachment type
    createFramebufferInfo framebuffers.js:242
    createFramebufferInfo framebuffers.js:197
    init waves.js:176
    run waves.js:368
    Edit edit.js:189
    commitHookEffectListMount react-dom.js:23160
    commitPassiveMountOnFiber react-dom.js:24936
    commitPassiveMountEffects_complete react-dom.js:24901
    commitPassiveMountEffects_begin react-dom.js:24888
    commitPassiveMountEffects react-dom.js:24876
    flushPassiveEffectsImpl react-dom.js:27049
    flushPassiveEffects react-dom.js:26994
    performSyncWorkOnRoot react-dom.js:26086
    flushSyncCallbacks react-dom.js:12052
    commitRootImpl react-dom.js:26969
    commitRoot react-dom.js:26692
    finishConcurrentRender react-dom.js:25991
    performConcurrentWorkOnRoot react-dom.js:25819
    workLoop react.js:2653
    flushWork react.js:2626
    performWorkUntilDeadline react.js:2920
    <anonymous> wp-polyfill.js:1977
    run wp-polyfill.js:1953
    listener wp-polyfill.js:1964
    EventHandlerNonNull* wp-polyfill.js:2000
    __webpack_require__ wp-polyfill.js:26
    <anonymous> wp-polyfill.js:1901
    __webpack_require__ wp-polyfill.js:26
    <anonymous> wp-polyfill.js:101
    __webpack_require__ wp-polyfill.js:26
    <anonymous> wp-polyfill.js:90
    <anonymous> wp-polyfill.js:93
    <anonymous> wp-polyfill.js:2097
[framebuffers.js:242:12](webpack://twgl/src/framebuffers.js)
    createFramebufferInfo framebuffers.js:242
    forEach self-hosted:203
    createFramebufferInfo framebuffers.js:197
    init waves.js:176
    run waves.js:368
    Edit edit.js:189
    commitHookEffectListMount react-dom.js:23160
    commitPassiveMountOnFiber react-dom.js:24936
    commitPassiveMountEffects_complete react-dom.js:24901
    commitPassiveMountEffects_begin react-dom.js:24888
    commitPassiveMountEffects react-dom.js:24876
    flushPassiveEffectsImpl react-dom.js:27049
    flushPassiveEffects react-dom.js:26994
    performSyncWorkOnRoot react-dom.js:26086
    flushSyncCallbacks react-dom.js:12052
    commitRootImpl react-dom.js:26969
    commitRoot react-dom.js:26692
    finishConcurrentRender react-dom.js:25991
    performConcurrentWorkOnRoot react-dom.js:25819
    workLoop react.js:2653
    flushWork react.js:2626
    performWorkUntilDeadline react.js:2920
    apply self-hosted:2366
    <anonymous> wp-polyfill.js:1977
    run wp-polyfill.js:1953
    listener wp-polyfill.js:1964
    (Async: EventHandlerNonNull)
    <anonymous> wp-polyfill.js:2000
    __webpack_require__ wp-polyfill.js:26
    <anonymous> wp-polyfill.js:1901
    __webpack_require__ wp-polyfill.js:26
    <anonymous> wp-polyfill.js:101
    __webpack_require__ wp-polyfill.js:26
    <anonymous> wp-polyfill.js:90
    <anonymous> wp-polyfill.js:93
    <anonymous> wp-polyfill.js:2097