-
I have tons of errors like: node_modules/@visx/legend/lib/legends/Size.d.ts:1:23 - error TS4090: Conflicting definitions for 'react' found at '/Users//Library/Caches/Yarn/v4/.tmp/4d274e011f9d62bf03312b276d7efcdb.b3ea0fb9e1976fc017dd144ef857889981f95cb8.prepare/node_modules/@visx/legend/node_modules/@types/react/ts5.0/index.d.ts' and '/Users/joroth/Library/Caches/Yarn/v4/.tmp/4d274e011f9d62bf03312b276d7efcdb.b3ea0fb9e1976fc017dd144ef857889981f95cb8.prepare/node_modules/@types/react/index.d.ts'. Consider installing a specific version of this library to resolve the conflict. with Version 8.3.0 during "yarn install", even after "yarn cache clean". Any idea what is causing this conflict? Thanks you and regards, Jörg |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi Jörg, Thanks for reporting the error. Could you please check that
"resolutions": {
"@types/react": "^17.0.3",
"@types/lodash": "4.14.182",
"@types/node": "^18.15.11"
},
After that please do a |
Beta Was this translation helpful? Give feedback.
Hi Jörg,
Thanks for reporting the error.
Could you please check that
After that please do a
yarn install
again to fix the dependencies.Please let me know if that fixes things.