When I try to use the "npm install" command, I get an error
How can it be corrected?
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @vitejs/plugin-react@2.2.0
npm ERR! Found: vite@4.0.4
npm ERR! node_modules/vite
npm ERR! dev vite@"^4.0.0" from the root project
npm ERR! peer vite@"^3.0.0 || ^4.0.0" from laravel-vite-plugin@0.7.3
npm ERR! node_modules/laravel-vite-plugin
npm ERR! dev laravel-vite-plugin@"^0.7.2" from the root project
npm ERR! 1 more (vite-plugin-full-reload)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vite@"^3.0.0" from @vitejs/plugin-react@2.2.0
npm ERR! node_modules/@vitejs/plugin-react
npm ERR! dev @vitejs/plugin-react@"^2.2.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: vite@3.2.5
npm ERR! node_modules/vite
npm ERR! peer vite@"^3.0.0" from @vitejs/plugin-react@2.2.0
npm ERR! node_modules/@vitejs/plugin-react
npm ERR! dev @vitejs/plugin-react@"^2.2.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.
On another project, I installed bootstrap using "build". If you try to install using the guide from the official laravel website, nothing comes out