How to resolve errors when installing dependencies?
P粉312631645
P粉312631645 2024-03-28 16:35:50
0
1
428

npm install @material-ui/core @material-ui/icons @material-ui/labs @react-google-maps/api axios google-map-react

npm Error! Code ERESOLVE npm error! ERESOLVE cannot be resolved npm error! npm error! While resolving: @testing-library/[email protected] npm error! Found: [email protected] npm error! node_modules/react npm error! npm error! For a full report see: npm error! C:\Users\SENSA\AppData\Local\npm-cache_logs\2023-04-07T05_56_29_194Z-eresolve-report.txt

npm Error! A complete log of this run can be found in: npm error! C:\Users\SENSA\AppData\Local\npm-cache_logs\2023-04-07T05_56_29_194Z-debug-0.log

P粉312631645
P粉312631645

reply all(1)
P粉615886660

Maybe your npm version is inappropriate. You can try the following steps:

  1. Use --legacy-peer-deps to install dependencies, run npm install @material-ui/core @material-ui/icons @material-ui/labs @react -google-maps/api axios google -map-react --legacy-peer-deps.

  2. If the error still occurs, delete all node_modules and run the command again.

  3. If you still get an error, please use npm --version to check your npm version, and then update to the latest npm version to solve this problem.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template