For some reason React is constrained to"react": ">=16.8.0 <18.0.0" in peerDependencies.
When running npm install, it complains (see below) the dependency cannot be satisfied unless I use --legacy-peer-deps.
Could you alter the upper constraint boundary to include react 18?
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: data@1.0.0
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR! react@"^18.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@">=16.8.0 <18.0.0" from @fluentui/react-icons@2.0.179
npm ERR! node_modules/@fluentui/react-icons
npm ERR! @fluentui/react-icons@"*" from the root project
For some reason React is constrained to
"react": ">=16.8.0 <18.0.0"
inpeerDependencies
.When running
npm install
, it complains (see below) the dependency cannot be satisfied unless I use--legacy-peer-deps
.Could you alter the upper constraint boundary to include react 18?