-
Notifications
You must be signed in to change notification settings - Fork 457
Closed
Description
When trying to create a new app with --template rmw
I am having an issue resolving dependencies:
$ npx create-react-app my-app --template rmw
Creating a new React app in C:\Users\jon\code\my-app.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template-rmw...
added 1374 packages in 1m
163 packages are looking for funding
run `npm fund` for details
Initialized a git repository.
Installing template dependencies using npm...
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: my-app@0.1.0
npm ERR! Found: @formatjs/intl-relativetimeformat@9.4.0
npm ERR! node_modules/@formatjs/intl-relativetimeformat
npm ERR! @formatjs/intl-relativetimeformat@"9.x" from the root project
npm ERR! peer @formatjs/intl-relativetimeformat@"9.x" from rmw-shell@11.0.6
npm ERR! node_modules/rmw-shell
npm ERR! rmw-shell@"11.x" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @formatjs/intl-relativetimeformat@"8.x" from base-shell@2.0.1
npm ERR! node_modules/base-shell
npm ERR! base-shell@"2.x" 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\jon\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\jon\AppData\Local\npm-cache\_logs\2021-12-31T11_30_10_347Z-debug.log
`npm install --no-audit --save jss-rtl@0.x rmw-shell@11.x @formatjs/intl-relativetimeformat@9.x base-shell@2.x chart.js@3.x final-form@4.x final-form-arrays@3.x firebase@9.x firebaseui@6.x github-markdown-css@5.x intl@1.x material-ui-image@3.x material-ui-shell@3.x moment@2.x mui-rff@5.x notistack@2.x react@17.x react-beautiful-dnd@13.x react-chartjs-2@4.x react-countup@6.x react-custom-scrollbars@4.x react-dom@17.x react-easy-crop@4.x react-final-form@6.x react-final-form-arrays@3.x react-helmet@6.x react-intl@5.x react-ios-pwa-prompt@1.x react-linkify@^1.0.0-alpha react-markdown@7.x react-router-dom@6.x react-virtualized-auto-sizer@1.x react-window@1.x @mui/material@5.x @emotion/react@11.x @emotion/styled@11.x @fontsource/roboto@4.x @mui/icons-material@5.x @mui/styles@5.x @mui/lab@^5.0.0-alpha.49 @testing-library/jest-dom@^5.11.4 @testing-library/react@^12.1.0 @testing-library/user-event@^13.1.10` failed
It looks like in some places you are referencing @formatjs/intl-relativetimeformat@9.x
, whereas in others you reference @formatjs/intl-relativetimeformat@8.x
. E.g. here:
$ node --version
v16.13.1
$ npm --version
8.1.2
Let me know if I can provide more information.
Metadata
Metadata
Assignees
Labels
No labels