-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
Developer ExperienceIdeas about improving block and theme developer experienceIdeas about improving block and theme developer experienceNeeds Dev NoteRequires a developer note for a major WordPress release cycleRequires a developer note for a major WordPress release cycle[Priority] HighUsed to indicate top priority items that need quick attentionUsed to indicate top priority items that need quick attention[Tool] WP Scripts/packages/scripts/packages/scripts[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
I tried to create a new plugin / block with create-block and the block is not available in the back-end. There's no build error, php error or javascript error.
Step-by-step reproduction instructions
1 : Create a new wordpress plugin "npx @wordpress/create-block test-plugin"
2: cd test-plugin
3 : npm start
3 : activate plugin test-plugin
4 : edit a new page in wp-admin
5 : try to add the new block "/test-plugin"
6: nothing append
step to correct
- edit package.json set devedepencies "@wordpress/scripts" to "^27.9.0"
- npm install
- npm start
- refresh and edit a page
- add the new block "/test-plugin"
Screenshots, screen recording, code snippet
No response
Environment info
Wordpress 6.53.
@wordpress/scripts": "^28.0.0"
node 22.2
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
mrleemon, slaFFik, davisshaver, hBarre21, nikoocrow and 13 more
Metadata
Metadata
Assignees
Labels
Developer ExperienceIdeas about improving block and theme developer experienceIdeas about improving block and theme developer experienceNeeds Dev NoteRequires a developer note for a major WordPress release cycleRequires a developer note for a major WordPress release cycle[Priority] HighUsed to indicate top priority items that need quick attentionUsed to indicate top priority items that need quick attention[Tool] WP Scripts/packages/scripts/packages/scripts[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended