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粉6158866602024-03-29 15:06:52
Maybe your npm version is inappropriate. You can try the following steps:
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
.
If the error still occurs, delete all node_modules and run the command again.
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.