Skip to content

[dev] Can't npm install in pattern-creator #754

Description

@bor0

Found while working with @gedex and @raicem on #752

[email protected]:~$ cd /home/wporg/public_html/wp-content/plugins/pattern-creator
[email protected]:/home/wporg/public_html/wp-content/plugins/pattern-creator$ rm -rf node_modules
[email protected]:/home/wporg/public_html/wp-content/plugins/pattern-creator$ npm install
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/react
npm error   peer react@"^18.0.0" from @wordpress/[email protected]
npm error   node_modules/@wordpress/block-editor
npm error     @wordpress/block-editor@"14.9.0" from the root project
npm error     @wordpress/block-editor@"*" from @wordpress/[email protected]
npm error     node_modules/@wordpress/block-library
npm error       @wordpress/block-library@"9.14.0" from the root project
npm error       1 more (@wordpress/edit-post)
npm error     4 more (@wordpress/core-data, @wordpress/edit-post, ...)
npm error   peer react@"^18.3.1" from [email protected]
npm error   node_modules/react-dom
npm error     peer react-dom@"^18.0.0" from @wordpress/[email protected]
npm error     node_modules/@wordpress/block-editor
npm error       @wordpress/block-editor@"14.9.0" from the root project
npm error       5 more (@wordpress/block-library, @wordpress/core-data, ...)
npm error     peer react-dom@"^18.0.0" from @wordpress/[email protected]
npm error     node_modules/@wordpress/block-library
npm error       @wordpress/block-library@"9.14.0" from the root project
npm error       1 more (@wordpress/edit-post)
npm error     8 more (@wordpress/components, @wordpress/core-data, ...)
npm error   15 more (@wordpress/block-library, @wordpress/blocks, ...)
npm error
npm error Could not resolve dependency:
npm error dev @wordpress/scripts@"32.3.0" from the root project
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/react
npm error   peer react@"^19.2.4" from @wordpress/[email protected]
npm error   node_modules/@wordpress/scripts
npm error     dev @wordpress/scripts@"32.3.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/wporgdev/.npm/_logs/2026-07-02T09_25_21_631Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/wporgdev/.npm/_logs/2026-07-02T09_25_21_631Z-debug-0.log

Caused by change in public_html/wp-content/plugins/pattern-creator/package.json from c91dbf3 by @obenland

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions