Gutenberg JS errors in console

Created on 17 January 2023, about 2 years ago
Updated 12 January 2024, about 1 year ago

Problem/Motivation

Hi, I'm starting development with drupal and gutenberg, but I don't have a proper way of using gutenberg on the drupal version 10.0.1.
When I use Gutenberg editor I receive the following errors on console.

How I can fix this?

Steps to reproduce

  1. Install drupal 10.0.1 with php 8.1
  2. Install Gutenberg package last version
  3. Create a new type of content with gutenberg
🐛 Bug report
Status

Needs work

Version

2.6

Component

Code

Created by

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Status changed to Postponed: needs info about 2 years ago
  • Status changed to Active about 2 years ago
  • Status changed to Needs review about 2 years ago
  • Status changed to Needs work over 1 year ago
  • 🇳🇴Norway eiriksm Norway

    I think it would be nice to update the issue summary with steps to reproduce. Not super clear and its a bit back and forth in the comments. Clear instructions would be nice.

    With that in place, I think this issue needs a failing test added, and then verify the patch / MR fixes the issue. I can do that, if no one else reports for duty :)

  • 🇯🇵Japan tyler36 Osaka

    Unable to replicate with Drupal 10.1.7 an Gutenberg 3.0@beta

    However, I do get a console warning when the Gutenberg edit page is displayed:

    [Violation] 'setTimeout' handler took 89ms  ...   react-dom.min.js?v=16.8.4
    

    It doesn't seem to affect usage though.

Production build 0.71.5 2024