Closed saketmicrosoft closed 3 years ago
npm install --legacy-peer-deps fixed all errors. we need to change the github documentation so that people can run it without wasting time.
@saketmicrosoft Can you advise, please
Hi, I was able to solve my errors by using the option --legacy-peer-deps with npm install
I am getting a bunch of npm version errors while trying to setup https://github.com/Microsoft/AzureSearch_JFK_Files
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: jfk-files@1.0.0 npm ERR! Found: webpack@3.8.1 npm ERR! node_modules/webpack npm ERR! dev webpack@"~3.8.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer webpack@"^4.37.0 || ^5.0.0" from webpack-dev-server@4.3.1 npm ERR! node_modules/webpack-dev-server npm ERR! dev webpack-dev-server@">=3.1.11" 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!
How to resolve these?