OlivierCC / spfx-40-fantastics

This package is a sample kit of Client Side Web Parts built on the SharePoint Framework SPFx. You can find here different kind of high visual web parts as carousel, images galleries, animations, map, editors, etc.
MIT License
407 stars 279 forks source link

NPM Install Issue #135

Open goo400 opened 1 year ago

goo400 commented 1 year ago

Hello Eveyone, Thank you Very Much About Everything , Just i want to know the reason of some problems , because when i clone the repos and i do npm install the cmd show me a lot of error , if some one have time , please help me

The Error Is : npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: spfx-40-fantastics@1.0.4 npm ERR! Found: @types/react@0.14.46 npm ERR! node_modules/@types/react npm ERR! @types/react@"0.14.46" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @types/react@">=16.9.51 <18.0.0" from @microsoft/sp-loader@1.16.1 npm ERR! node_modules/@microsoft/sp-loader npm ERR! @microsoft/sp-loader@"^1.1.1" 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! npm ERR! For a full report see: npm ERR! C:\Users\TOSHIBA\AppData\Local\npm-cache_logs\2023-03-16T19_23_55_031Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\TOSHIBA\AppData\Local\npm-cache_logs\2023-03-16T19_23_55_031Z-debug-0.log