Replies: 1 comment
-
@Skubakoob You could either accept the older peer dependency version using the --legacy-peer-deps flag. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've created a PCF project using the newer "ComponentFramework.ReactControl" as per the docs.
When I try to install the charting package using "npm install @fluentui/react-charting", I get this error:
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @fluentui/[email protected]
npm ERR! node_modules/@fluentui/react
npm ERR! @fluentui/react@"8.29.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @fluentui/react@"^8.110.2" from @fluentui/[email protected]
npm ERR! node_modules/@fluentui/react-charting
npm ERR! @fluentui/react-charting@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
As I'm using the framework libraries, I know I can't fiddle with the fluent-ui version. Is this an issue with the dependencies within the charting package? Should I raise this as a bug?
Beta Was this translation helpful? Give feedback.
All reactions