Hi team,
Create a new CUBA project and add react frontend using Studio, npm install
will fail:
npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: forumfront@0.1.0
npm ERR! Found: typescript@4.1.5
npm ERR! node_modules/typescript
npm ERR! dev typescript@"~4.1.3" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional typescript@"^4.2" from react-intl@5.14.0
npm ERR! node_modules/react-intl
npm ERR! react-intl@"^5.3.0" from the root project
npm ERR! peer react-intl@"^5.3.0" from @cuba-platform/react-ui@2.0.0
npm ERR! node_modules/@cuba-platform/react-ui
npm ERR! @cuba-platform/react-ui@"^2.0.0-beta.0" 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 /Users/bryan/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/bryan/.npm/_logs/2021-03-26T09_24_15_006Z-debug.log
platform version:
CUBA Platform version: 7.2.13
CUBA Studio plugin version: 15.3-202
IntelliJ version: IntelliJ IDEA 2020.3.3 (Ultimate Edition)