You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to install @carbon/react through npm install, on a project boilerplated through create-react-app . --template redux-typescript.
Whenever I try to install @carbon/react, I get the following error message:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: nuovo-membri@0.1.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.6 || ^17.0.1" from @carbon/react@1.13.0
npm ERR! node_modules/@carbon/react
npm ERR! @carbon/react@"*" 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.
npm ERR!
npm ERR! See C:\Users\PRODUZIONE\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\PRODUZIONE\AppData\Local\npm-cache\_logs\2022-09-19T16_37_43_774Z-debug-0.log
Reproduction/example
Just try to install @carbon/react on a brand new create-react-app typescript boilerplate
Steps to reproduce
Create a project with npx create-react-app . --template redux typescript
We are in the process of migrating to React 18; as such, this is a known issue and is currently being tracked in #11308. Please follow that issue for further updates
Package
@carbon/react
Browser
Chrome, Firefox
Package version
latest, but can't install it
React version
v18.2.0
Description
I am trying to install @carbon/react through npm install, on a project boilerplated through
create-react-app . --template redux-typescript
.Whenever I try to install @carbon/react, I get the following error message:
Reproduction/example
Just try to install @carbon/react on a brand new create-react-app typescript boilerplate
Steps to reproduce
npx create-react-app . --template redux typescript
cd
into the project foldernpm install @carbon/react
.Code of Conduct
The text was updated successfully, but these errors were encountered: