[wp-trac] [WordPress Trac] #61404: Block fails to register with wp-scripts v28.0.0

WordPress Trac noreply at wordpress.org
Mon Jun 10 08:25:57 UTC 2024


#61404: Block fails to register with wp-scripts v28.0.0
-------------------------------------+-------------------------------------
 Reporter:  itumulak                 |      Owner:  (none)
     Type:  defect (bug)             |     Status:  new
 Priority:  normal                   |  Milestone:  Awaiting Review
Component:  General                  |    Version:  trunk
 Severity:  blocker                  |   Keywords:  needs-patch 2nd-opinion
  Focuses:  javascript,              |  dev-feedback needs-testing
  sustainability                     |
-------------------------------------+-------------------------------------
 When working with Gutenburg blocks and used `npx @wordpress/create-
 block at latest` to scaffold my block. My block somehow won't register.

 To solve this, I have to downgrade `wp-script` to **v27.9.0**. `npx
 @wordpress/create-block at latest` ships out **v28.0.0**.

 [https://stackoverflow.com/questions/78591754/wordpress-plugin-activated-
 but-not-visible-in-gutenberg-blocks/78598454#78598454 StackOverflow]
 [https://community.localwp.com/t/block-plugin-development-using-create-
 block-package-issue/43192 Local Forum]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61404>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list