The above is the error reported by running npm install to install dependencies
Solution:
1. Delete the project package-lock.json file
2. Execute the command to clear the cache
npm cache clean --force
There will be a warning on the execution line, just ignore it.
3. Finally, execute npm install
the installation and find that it can be installed normally. At this time, you will find a newly generated package.lock.json file.