ecronix / react-most-wanted

React starter kit with "Most Wanted" application features
https://www.react-most-wanted.com/
MIT License
2.43k stars 459 forks source link

I'm no able to install this template with `npx create-react-app` #402

Closed SajawalFareedi closed 2 years ago

SajawalFareedi commented 2 years ago

This is what I'm getting:

> npx create-react-app cero-verse-ui --template material-ui
Creating a new React app in C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template-material-ui...

added 1392 packages in 4m

203 packages are looking for funding
  run `npm fund` for details

Installing template dependencies using npm...
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: cero-verse-ui@0.1.0
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR!   react@"18.x" from the root project
npm ERR!   peer react@"18.x" from material-ui-shell@3.4.0
npm ERR!   node_modules/material-ui-shell
npm ERR!     material-ui-shell@"3.x" from the root project
npm ERR!   5 more (@emotion/react, @emotion/styled, @mui/icons-material, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^17.0.0" from @mui/styles@5.9.0
npm ERR! node_modules/@mui/styles
npm ERR!   @mui/styles@"5.x" from the root project
npm ERR!   peer @mui/styles@"5.x" from material-ui-shell@3.4.0
npm ERR!   node_modules/material-ui-shell
npm ERR!     material-ui-shell@"3.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\sajaw\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\sajaw\AppData\Local\npm-cache\_logs\2022-07-16T11_58_03_511Z-debug-0.log
npm install --no-audit --save material-ui-shell@3.x @emotion/styled@11.x @fontsource/roboto@4.x @mui/icons-material@5.x @mui/material@5.x @mui/styles@5.x base-shell@2.x intl@1.x jss-rtl@0.x notistack@2.x react@18.x react-custom-scrollbars-2@4.x react-dom@18.x react-easy-crop@4.x react-intl@6.x react-ios-pwa-prompt@1.x react-markdown@^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 react-router-dom@6.x react-virtualized-auto-sizer@1.x react-window@1.x failed

Please guide me on how i can install this template.

TarikHuber commented 2 years ago

Can you try it with this command: npm install --legacy-peer-deps in the project that was created

SajawalFareedi commented 2 years ago

Can you try it with this command: npm install --legacy-peer-deps in the project that was created

Sorry for the late response. I'll try it and get back to you soon

SajawalFareedi commented 2 years ago

Hey, @TarikHuber I did but got this error:

Installing template dependencies using npm...
npm ERR! code ERESOLVE
Failed to compile.

Module not found: Error: Can't resolve 'base-shell/lib' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src'
ERROR in ./src/App.js 5:0-33
Module not found: Error: Can't resolve 'base-shell/lib' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src'

ERROR in ./src/components/CustomPaper/index.js 3:0-40
Module not found: Error: Can't resolve '@mui/material/Paper' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\components\CustomPaper'

ERROR in ./src/components/CustomPaper/index.js 4:0-39
Module not found: Error: Can't resolve '@mui/material' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\components\CustomPaper'    

ERROR in ./src/components/Loading/Loading.js 5:0-62
Module not found: Error: Can't resolve '@mui/material/CircularProgress' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\components\Loading'

ERROR in ./src/components/Menu/MenuContent.js 7:0-77
Module not found: Error: Can't resolve 'material-ui-shell/lib/components/Scrollbar/Scrollbar' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\components\Menu'

ERROR in ./src/components/Menu/MenuContent.js 8:0-85
Module not found: Error: Can't resolve 'material-ui-shell/lib/containers/SelectableMenuList' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\components\Menu'

ERROR in ./src/components/Menu/MenuContent.js 9:0-78
Module not found: Error: Can't resolve 'base-shell/lib/providers/AddToHomeScreen' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\components\Menu'

ERROR in ./src/components/Menu/MenuContent.js 10:0-56
Module not found: Error: Can't resolve 'base-shell/lib/providers/Auth' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\components\Menu'

ERROR in ./src/components/Menu/MenuContent.js 11:0-60
Module not found: Error: Can't resolve 'base-shell/lib/providers/Config' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\components\Menu'

ERROR in ./src/components/Menu/MenuContent.js 12:0-60
Module not found: Error: Can't resolve 'react-router-dom' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\components\Menu'        

ERROR in ./src/components/Menu/MenuContent.js 13:0-37
Module not found: Error: Can't resolve 'react-intl' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\components\Menu'

ERROR in ./src/components/Menu/MenuContent.js 14:0-60
Module not found: Error: Can't resolve 'base-shell/lib/providers/Locale' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\components\Menu'

ERROR in ./src/components/Menu/MenuContent.js 15:0-63
Module not found: Error: Can't resolve 'material-ui-shell/lib/providers/Menu' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\components\Menu'

ERROR in ./src/components/Menu/MenuContent.js 16:0-80
Module not found: Error: Can't resolve 'material-ui-shell/lib/providers/Theme' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\components\Menu'

ERROR in ./src/config/config.js 7:0-57
Module not found: Error: Can't resolve 'base-shell/lib/utils/locale' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\config'      

ERROR in ./src/config/config.js 11:45-119
Module not found: Error: Can't resolve 'material-ui-shell/lib/containers/LayoutContainer/LayoutContainer' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\config'

ERROR in ./src/config/config.js 15:34-86
Module not found: Error: Can't resolve 'material-ui-shell/lib/containers/Menu/Menu' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\config'

ERROR in ./src/config/config.js 42:40-104
Module not found: Error: Can't resolve 'material-ui-shell/lib/components/MenuHeader/MenuHeader' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\config'

ERROR in ./src/config/locales/de.js 3:0-44
Module not found: Error: Can't resolve 'react-intl' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\config\locales'

ERROR in ./src/config/locales/en.js 3:0-44
Module not found: Error: Can't resolve 'react-intl' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\config\locales'

ERROR in ./src/config/locales/ru.js 3:0-44
Module not found: Error: Can't resolve 'react-intl' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\config\locales'

ERROR in ./src/config/menuItems.js 5:0-423
Module not found: Error: Can't resolve '@mui/icons-material' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\config'

ERROR in ./src/config/routes.js 7:0-72
Module not found: Error: Can't resolve 'base-shell/lib/components/AuthorizedRoute' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\config'

ERROR in ./src/config/routes.js 8:0-76
Module not found: Error: Can't resolve 'base-shell/lib/components/UnauthorizedRoute' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\config'

ERROR in ./src/config/themes.js 3:0-43
Module not found: Error: Can't resolve '@mui/material/colors/red' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\config'

ERROR in ./src/config/themes.js 4:0-47
Module not found: Error: Can't resolve '@mui/material/colors/green' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\config'       

ERROR in ./src/config/themes.js 5:0-45
Module not found: Error: Can't resolve '@mui/material/colors/pink' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\config'        

ERROR in ./src/pages/About/index.js 7:0-37
Module not found: Error: Can't resolve 'react-intl' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\About'

ERROR in ./src/pages/About/index.js 8:0-57
Module not found: Error: Can't resolve 'material-ui-shell/lib/containers/Page' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\About'

ERROR in ./src/pages/About/index.js 9:0-67
Module not found: Error: Can't resolve 'material-ui-shell/lib/components/Scrollbar' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\About'

ERROR in ./src/pages/About/index.js 10:0-43
Module not found: Error: Can't resolve 'react-markdown' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\About'

ERROR in ./src/pages/DialogDemo/DialogDemo.js 6:0-39
Module not found: Error: Can't resolve '@mui/material' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\DialogDemo'

ERROR in ./src/pages/DialogDemo/DialogDemo.js 7:0-57
Module not found: Error: Can't resolve 'material-ui-shell/lib/containers/Page' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\DialogDemo'

ERROR in ./src/pages/DialogDemo/DialogDemo.js 9:0-37
Module not found: Error: Can't resolve 'react-intl' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\DialogDemo'

ERROR in ./src/pages/DialogDemo/DialogDemo.js 10:0-80
Module not found: Error: Can't resolve 'material-ui-shell/lib/providers/Dialogs/Question' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\DialogDemo'

ERROR in ./src/pages/FilterDemo/index.js 7:0-53
Module not found: Error: Can't resolve 'react-virtualized-auto-sizer' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\FilterDemo'

ERROR in ./src/pages/FilterDemo/index.js 8:0-103
Module not found: Error: Can't resolve '@mui/material' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\FilterDemo'

ERROR in ./src/pages/FilterDemo/index.js 9:0-49
Module not found: Error: Can't resolve '@mui/icons-material' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\FilterDemo'    

ERROR in ./src/pages/FilterDemo/index.js 10:0-73
Module not found: Error: Can't resolve 'material-ui-shell/lib/components/FilterDrawer' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\FilterDemo'

ERROR in ./src/pages/FilterDemo/index.js 11:0-57
Module not found: Error: Can't resolve 'material-ui-shell/lib/containers/Page' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\FilterDemo'

ERROR in ./src/pages/FilterDemo/index.js 13:0-71
Module not found: Error: Can't resolve 'material-ui-shell/lib/components/SearchField' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\FilterDemo'

ERROR in ./src/pages/FilterDemo/index.js 15:0-45
Module not found: Error: Can't resolve 'react-window' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\FilterDemo'

ERROR in ./src/pages/FilterDemo/index.js 16:0-55
Module not found: Error: Can't resolve 'react-custom-scrollbars-2' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\FilterDemo'

ERROR in ./src/pages/FilterDemo/index.js 17:0-67
Module not found: Error: Can't resolve 'material-ui-shell/lib/providers/Filter' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\FilterDemo'

ERROR in ./src/pages/FilterDemo/index.js 18:0-37
Module not found: Error: Can't resolve 'react-intl' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\FilterDemo'

ERROR in ./src/pages/FilterDemo/index.js 19:0-80
Module not found: Error: Can't resolve 'material-ui-shell/lib/providers/Theme' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\FilterDemo'

ERROR in ./src/pages/Home/Home.js 6:0-43
Module not found: Error: Can't resolve '@mui/material' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\Home'

ERROR in ./src/pages/Home/Home.js 7:0-57
Module not found: Error: Can't resolve 'material-ui-shell/lib/containers/Page' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\Home'

ERROR in ./src/pages/Home/Home.js 9:0-37
Module not found: Error: Can't resolve 'react-intl' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\Home'

ERROR in ./src/pages/LandingPage/LandingPage.js 5:0-40
Module not found: Error: Can't resolve 'react-router-dom' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\LandingPage'      

ERROR in ./src/pages/ListPageDemo/index.js 7:0-65
Module not found: Error: Can't resolve 'material-ui-shell/lib/containers/Page' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\ListPageDemo'

ERROR in ./src/pages/ListPageDemo/index.js 8:0-76
Module not found: Error: Can't resolve '@mui/material' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\ListPageDemo'        

ERROR in ./src/pages/ListPageDemo/index.js 9:0-37
Module not found: Error: Can't resolve 'react-intl' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\ListPageDemo'

ERROR in ./src/pages/MyAccount/MyAccount.js 6:0-80
Module not found: Error: Can't resolve '@mui/material' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\MyAccount'

ERROR in ./src/pages/MyAccount/MyAccount.js 7:0-81
Module not found: Error: Can't resolve '@mui/icons-material' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\MyAccount'     

ERROR in ./src/pages/MyAccount/MyAccount.js 8:0-62
Module not found: Error: Can't resolve 'material-ui-shell/lib/containers/Page/Page' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\MyAccount'

ERROR in ./src/pages/MyAccount/MyAccount.js 10:0-56
Module not found: Error: Can't resolve 'base-shell/lib/providers/Auth' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\MyAccount'

ERROR in ./src/pages/MyAccount/MyAccount.js 11:0-37
Module not found: Error: Can't resolve 'react-intl' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\MyAccount'

ERROR in ./src/pages/MyAccount/MyAccount.js 12:0-80
Module not found: Error: Can't resolve 'material-ui-shell/lib/providers/Dialogs/Question' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\MyAccount'

ERROR in ./src/pages/MyAccount/MyAccount.js 13:0-84
Module not found: Error: Can't resolve 'material-ui-shell/lib/containers/ImageUploadDialog' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\MyAccount'

ERROR in ./src/pages/PageNotFound/PageNotFound.js 6:0-58
Module not found: Error: Can't resolve '@mui/material' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\PageNotFound'        

ERROR in ./src/pages/PageNotFound/PageNotFound.js 7:0-43
Module not found: Error: Can't resolve '@mui/icons-material' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\PageNotFound'  

ERROR in ./src/pages/PageNotFound/PageNotFound.js 8:0-57
Module not found: Error: Can't resolve 'material-ui-shell/lib/containers/Page' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\PageNotFound'

ERROR in ./src/pages/PageNotFound/PageNotFound.js 10:0-37
Module not found: Error: Can't resolve 'react-intl' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\PageNotFound'

ERROR in ./src/pages/PasswordReset/PasswordReset.js 6:0-51
Module not found: Error: Can't resolve '@mui/material' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\PasswordReset'       

ERROR in ./src/pages/PasswordReset/PasswordReset.js 7:0-57
Module not found: Error: Can't resolve 'material-ui-shell/lib/containers/Page' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\PasswordReset'

ERROR in ./src/pages/PasswordReset/PasswordReset.js 8:0-48
Module not found: Error: Can't resolve '@mui/material/styles' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\PasswordReset'
ERROR in ./src/pages/PasswordReset/PasswordReset.js 11:0-47
Module not found: Error: Can't resolve 'react-router-dom' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\PasswordReset'    

ERROR in ./src/pages/PasswordReset/PasswordReset.js 12:0-37
Module not found: Error: Can't resolve 'react-intl' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\PasswordReset'

ERROR in ./src/pages/SignIn/SignIn.js 6:0-62
Module not found: Error: Can't resolve '@mui/material' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\SignIn'

ERROR in ./src/pages/SignIn/SignIn.js 7:0-57
Module not found: Error: Can't resolve 'material-ui-shell/lib/containers/Page' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\SignIn'

ERROR in ./src/pages/SignIn/SignIn.js 9:0-40
Module not found: Error: Can't resolve 'react-router-dom' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\SignIn'

ERROR in ./src/pages/SignIn/SignIn.js 10:0-56
Module not found: Error: Can't resolve 'base-shell/lib/providers/Auth' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\SignIn'

ERROR in ./src/pages/SignIn/SignIn.js 12:0-37
Module not found: Error: Can't resolve 'react-intl' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\SignIn'

ERROR in ./src/pages/SignIn/SignIn.js 13:0-63
Module not found: Error: Can't resolve 'material-ui-shell/lib/providers/Menu' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\SignIn'

ERROR in ./src/pages/SignIn/SignIn.js 14:0-48
Module not found: Error: Can't resolve '@mui/material/styles' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\SignIn'       

ERROR in ./src/pages/SignUp/SignUp.js 6:0-62
Module not found: Error: Can't resolve '@mui/material' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\SignUp'

ERROR in ./src/pages/SignUp/SignUp.js 7:0-57
Module not found: Error: Can't resolve 'material-ui-shell/lib/containers/Page' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\SignUp'

ERROR in ./src/pages/SignUp/SignUp.js 9:0-56
Module not found: Error: Can't resolve 'base-shell/lib/providers/Auth' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\SignUp'

ERROR in ./src/pages/SignUp/SignUp.js 10:0-60
Module not found: Error: Can't resolve 'react-router-dom' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\SignUp'

ERROR in ./src/pages/SignUp/SignUp.js 11:0-37
Module not found: Error: Can't resolve 'react-intl' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\SignUp'

ERROR in ./src/pages/SignUp/SignUp.js 12:0-63
Module not found: Error: Can't resolve 'material-ui-shell/lib/providers/Menu' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\SignUp'

ERROR in ./src/pages/SignUp/SignUp.js 13:0-48
Module not found: Error: Can't resolve '@mui/material/styles' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\SignUp'       

ERROR in ./src/pages/TabsDemo/index.js 6:0-50
Module not found: Error: Can't resolve '@mui/material' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\TabsDemo'

ERROR in ./src/pages/TabsDemo/index.js 7:0-57
Module not found: Error: Can't resolve 'material-ui-shell/lib/containers/Page' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\TabsDemo'

ERROR in ./src/pages/TabsDemo/index.js 9:0-37
Module not found: Error: Can't resolve 'react-intl' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\TabsDemo'

ERROR in ./src/pages/ToastDemo/ToastDemo.js 6:0-39
Module not found: Error: Can't resolve '@mui/material' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\ToastDemo'

ERROR in ./src/pages/ToastDemo/ToastDemo.js 7:0-57
Module not found: Error: Can't resolve 'material-ui-shell/lib/containers/Page' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\ToastDemo'

ERROR in ./src/pages/ToastDemo/ToastDemo.js 9:0-37
Module not found: Error: Can't resolve 'react-intl' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\ToastDemo'

ERROR in ./src/pages/ToastDemo/ToastDemo.js 10:0-40
Module not found: Error: Can't resolve 'notistack' in 'C:\Users\sajaw\OneDrive\Portfolio\cero-verse\cero-verse-ui\src\pages\ToastDemo'

webpack compiled with 90 errors
aklusa022 commented 2 years ago

Hey, Is it still broken?

TarikHuber commented 2 years ago

@SajawalFareedi looks for me like you just don't have the proper packages installed in your project. Did you try to run this command in your project root folder: npm install --legacy-peer-deps

SajawalFareedi commented 2 years ago

@SajawalFareedi looks for me like you just don't have the proper packages installed in your project. Did you try to run this command in your project root folder: npm install --legacy-peer-deps

Yes, I did

SajawalFareedi commented 2 years ago

Hey, Is it still broken?

Yep

gordonCharles commented 2 years ago

Have the "same" issue when trying to create the base template:

`(base) gcharles@MBP-M1 React % npx create-react-app test-rmwbase --template base

Creating a new React app in /Users/gcharles/work/Software/React/test-rmwbase.

Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts with cra-template-base...

added 1396 packages in 20s

205 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: test-rmwbase@0.1.0 npm ERR! Found: react@17.0.2 npm ERR! node_modules/react npm ERR! react@"17.x" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"18.x" from base-shell@2.5.0 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 /Users/gcharles/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/gcharles/.npm/_logs/2022-08-07T06_29_06_481Z-debug-0.log npm install --no-audit --save base-shell@2.x intl@1.x react@17.x react-dom@17.x react-router-dom@6.x react-intl@5.x failed (base) gcharles@MBP-M1 React % cd test-rmwbase (base) gcharles@MBP-M1 test-rmwbase % npm install --legacy-peer-deps

removed 1 package, and audited 1396 packages in 890ms

205 packages are looking for funding run npm fund for details

6 high severity vulnerabilities

To address all issues (including breaking changes), run: npm audit fix --force

Run npm audit for details. ` Then:

` npm run start

Failed to compile.

Module not found: Error: Can't resolve 'base-shell/lib' in '/Users/gcharles/work/Software/React/test-rmwbase/src' ERROR in ./src/App.js 5:0-33 Module not found: Error: Can't resolve 'base-shell/lib' in '/Users/gcharles/work/Software/React/test-rmwbase/src'

ERROR in ./src/config/config.js 10:0-57 Module not found: Error: Can't resolve 'base-shell/lib/utils/locale' in '/Users/gcharles/work/Software/React/test-rmwbase/src/config'

ERROR in ./src/config/routes.js 7:0-72 Module not found: Error: Can't resolve 'base-shell/lib/components/AuthorizedRoute' in '/Users/gcharles/work/Software/React/test-rmwbase/src/config'

ERROR in ./src/config/routes.js 8:0-76 Module not found: Error: Can't resolve 'base-shell/lib/components/UnauthorizedRoute' in '/Users/gcharles/work/Software/React/test-rmwbase/src/config'

ERROR in ./src/containers/Menu/Menu.js 7:0-37 Module not found: Error: Can't resolve 'react-intl' in '/Users/gcharles/work/Software/React/test-rmwbase/src/containers/Menu'

ERROR in ./src/containers/Menu/Menu.js 8:0-43 Module not found: Error: Can't resolve 'react-router-dom' in '/Users/gcharles/work/Software/React/test-rmwbase/src/containers/Menu'

ERROR in ./src/containers/Menu/Menu.js 9:0-68 Module not found: Error: Can't resolve 'base-shell/lib/providers/Locale/Context' in '/Users/gcharles/work/Software/React/test-rmwbase/src/containers/Menu'

ERROR in ./src/containers/Menu/Menu.js 10:0-68 Module not found: Error: Can't resolve 'base-shell/lib/providers/Config/Context' in '/Users/gcharles/work/Software/React/test-rmwbase/src/containers/Menu'

ERROR in ./src/containers/Menu/Menu.js 11:0-64 Module not found: Error: Can't resolve 'base-shell/lib/providers/Auth/Context' in '/Users/gcharles/work/Software/React/test-rmwbase/src/containers/Menu'

ERROR in ./src/pages/About/About.js 7:0-37 Module not found: Error: Can't resolve 'react-intl' in '/Users/gcharles/work/Software/React/test-rmwbase/src/pages/About'

ERROR in ./src/pages/Home/Home.js 7:0-37 Module not found: Error: Can't resolve 'react-intl' in '/Users/gcharles/work/Software/React/test-rmwbase/src/pages/Home'

ERROR in ./src/pages/Home/Home.js 8:0-72 Module not found: Error: Can't resolve 'base-shell/lib/providers/SimpleValues' in '/Users/gcharles/work/Software/React/test-rmwbase/src/pages/Home'

ERROR in ./src/pages/Home/Home.js 9:0-60 Module not found: Error: Can't resolve 'base-shell/lib/providers/Online' in '/Users/gcharles/work/Software/React/test-rmwbase/src/pages/Home'

ERROR in ./src/pages/LandingPage/LandingPage.js 5:0-40 Module not found: Error: Can't resolve 'react-router-dom' in '/Users/gcharles/work/Software/React/test-rmwbase/src/pages/LandingPage'

ERROR in ./src/pages/PageNotFound/PageNotFound.js 7:0-37 Module not found: Error: Can't resolve 'react-intl' in '/Users/gcharles/work/Software/React/test-rmwbase/src/pages/PageNotFound'

ERROR in ./src/pages/SignIn/SignIn.js 7:0-60 Module not found: Error: Can't resolve 'react-router-dom' in '/Users/gcharles/work/Software/React/test-rmwbase/src/pages/SignIn'

ERROR in ./src/pages/SignIn/SignIn.js 8:0-37 Module not found: Error: Can't resolve 'react-intl' in '/Users/gcharles/work/Software/React/test-rmwbase/src/pages/SignIn'

ERROR in ./src/pages/SignIn/SignIn.js 9:0-56 Module not found: Error: Can't resolve 'base-shell/lib/providers/Auth' in '/Users/gcharles/work/Software/React/test-rmwbase/src/pages/SignIn'

webpack compiled with 18 errors`

gordonCharles commented 2 years ago

Thanks for the prompt response. Still seeing some package dependencies not resolving (different dependencies) and have the same symptoms after running "npm install --legacy-peer-deps" and "npm run start".

Installing template dependencies using npm... npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: test3-rmwbase@0.1.0 npm ERR! Found: react-intl@5.25.1 npm ERR! node_modules/react-intl npm ERR! react-intl@"5.x" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react-intl@"6.x" from base-shell@2.5.4 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 /Users/gcharles/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/gcharles/.npm/_logs/2022-08-07T20_17_25_551Z-debug-0.log npm install --no-audit --save base-shell@2.x intl@1.x react@17.x || 18.x react-dom@17.x || 18.x react-router-dom@6.x react-intl@5.x failed (base) gcharles@MBP-M1 React % cd test3-rmwbase
(base) gcharles@MBP-M1 test3-rmwbase % npm install --legacy-peer-deps

removed 1 package, and audited 1396 packages in 897ms

205 packages are looking for funding run npm fund for details

6 high severity vulnerabilities

To address all issues (including breaking changes), run: npm audit fix --force

2022-08-07T20_17_25_551Z-debug-0.log

TarikHuber commented 2 years ago

Thx. Will check it asap

TarikHuber commented 2 years ago

@gordonCharles the material-ui template should be fixed. Unfortunately the rmw template has to much dependencies to make the peer dependencies work well together. The workaround for this is to enable the legacy peer dependencies on your device with this command: npm config set legacy-peer-deps true and then to run the installation of the package. You can find more about that here

gordonCharles commented 2 years ago

Working for me. Thank you.

TarikHuber commented 2 years ago

That should work for everyone. If not pls reopen this ticket.