t-component
t-component copied to clipboard
Cannot install depedency on react 17
I have a CRA and get the follwoing error when running npm i @mojang/t-component
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"^17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.13.1" from @mojang/[email protected]
npm ERR! node_modules/@mojang/t-component
npm ERR! @mojang/t-component@"*" 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 /home/georgetsopanoglou/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/georgetsopanoglou/.npm/_logs/2021-10-15T08_38_59_487Z-debug.log
Is it possible the dependencies are updated?