Skip to content

@wordpress/create-block scaffold does not load without Gutenberg #62517

@jffng

Description

@jffng

Description

Following the instructions in the Build your first block tutorial, the block is not registered and does not appear in the inserter, unless Gutenberg is activated.

Step-by-step reproduction instructions

  1. Run npx @wordpress/create-block copyright-date-block --variant=dynamic in wp-env or a local WP environment
  2. Try to insert the block in a post, verify it is not registered and does not appear in the inserter
  3. Install and activate Gutenberg
  4. Verify the block is registered and available via the inserter

Screenshots, screen recording, code snippet

No response

Environment info

  • WP 6.5.4
  • Gutenberg 18.5.0

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Tool] Create Block/packages/create-block[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions