Skip to content

Peer dependency issues  #428

Description

@blackfalcon

Please verify the version of wc-generator you have installed

@latest

Please describe the bug

The following error appears with every repo in the latest configurations. What is the cause of this and how can we address it?

npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: stylelint-order@5.0.0
npm WARN Found: stylelint@15.10.1
npm WARN node_modules/stylelint
npm WARN   dev stylelint@"^15.10.1" from the root project
npm WARN   10 more (stylelint-config-idiomatic-order, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer stylelint@"^14.0.0" from stylelint-order@5.0.0
npm WARN node_modules/stylelint-config-idiomatic-order/node_modules/stylelint-order
npm WARN   stylelint-order@"^5.0.0" from stylelint-config-idiomatic-order@9.0.0
npm WARN   node_modules/stylelint-config-idiomatic-order
npm WARN
npm WARN Conflicting peer dependency: stylelint@14.16.1
npm WARN node_modules/stylelint
npm WARN   peer stylelint@"^14.0.0" from stylelint-order@5.0.0
npm WARN   node_modules/stylelint-config-idiomatic-order/node_modules/stylelint-order
npm WARN     stylelint-order@"^5.0.0" from stylelint-config-idiomatic-order@9.0.0
npm WARN     node_modules/stylelint-config-idiomatic-order

Reproducing the error

This issue cannot be reproduced on the Auro docsite

Expected behavior

npm packages are installed without the series of warnings.

What browsers are you seeing the problem on?

No response

Additional context

No response

Exit criteria

this issue can be closed once the root cause of the warnings is discovered and a solution is recommended to be applied to all element repos.

Metadata

Metadata

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions