Skip to content

@wordpress/create-block@latest does not work inside npm/pnpm workspaces. #56059

@ivanjeremic

Description

@ivanjeremic

Description

The create block package/install script does not work inside npm workspaces. npx @wordpress/create-block@latest does not work if I have an npm workspace and want to install it under /packages

Step-by-step reproduction instructions

  1. create an npm workspace with a /packages folder
  2. Run @wordpress/create-block@latest inside /packages

Screenshots, screen recording, code snippet

No response

Environment info

No response

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions