an Other or Better Solution is to disable the package-lock file
Here is a short Manual:
- create a file on the Project Root called
.npmrc
- put the following code inside the File:
package-lock=false
- delete the package-lock.json File
- run
npm cache clear --force
- run
npm install