Problems caused by package.json upgrade?

problem description

1.Vue uses package-lock.json to lock the version. A small partner of the team, reinstall the system. Pull the code and reinstall.
2. At this point, one of the packages is upgraded. Package-lock.json has been modified. After merging the code.
3. Reinstall node_modules. Caused a code error.
4. It is still the latest package that is re-downloaded using the old package.json and package-lock.json.

the environmental background of the problems and what methods you have tried

cleaned up the node_modules cache

what result do you expect? What is the error message actually seen?

what causes it? How to deal with it?

Jan.18,2022

take a look at which package has the problem, and then download the npm install problem package @ no problem version number-- save

Menu