create-block package installation: Error: Cannot find module '@wordpress/browserslist-config #69102
Open
2 of 6 tasks
Labels
[Tool] Create Block
/packages/create-block
[Type] Bug
An existing feature does not function as intended
Description
When trying to run the
create-block
package, it's unable to scaffold the block.Step-by-step reproduction instructions
cd && mkdir temp && cd temp
create-block
installation script:npx @wordpress/create-block@latest sample-block
Getting the following error when trying to create a new block using the
create-block
package:Verions
Node version: v23.7.0
NPM version: 11.1.0
Full error details
Installing the packages
Enter the directory, install the scripts
cd sample-block
npm i
Result
up to date, audited 1 package in 3s found 0 vulnerabilities
Trying to use the block
npm run start
Errors
Does the block work?
The block does not work...
package.json
Screenshots, screen recording, code snippet
No response
Environment info
Tried scaffolding the block in the
plugins
folder of a local WordPress install, also tried to scaffold the block into a dummy directory.Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: