Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jffng opened this issue Jun 12, 2024 · 3 comments
Closed

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

jffng opened this issue Jun 12, 2024 · 3 comments
Labels
[Package] Create Block /packages/create-block [Type] Bug An existing feature does not function as intended

Comments

@jffng
Copy link
Contributor

jffng commented Jun 12, 2024

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

@jffng jffng added [Type] Bug An existing feature does not function as intended [Package] Create Block /packages/create-block labels Jun 12, 2024
@amitraj2203
Copy link
Contributor

This issue appears to be similar to #62202.
Also this might help.

@t-hamano
Copy link
Contributor

I think this has the same cause as #62202, so I will close it.

@t-hamano t-hamano closed this as not planned Won't fix, can't repro, duplicate, stale Jun 13, 2024
@jffng
Copy link
Contributor Author

jffng commented Jun 13, 2024

Thanks @t-hamano @amitraj2203 for the triage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Create Block /packages/create-block [Type] Bug An existing feature does not function as intended
3 participants