rebuild package-lock.json file code example
Example 1: npm create package lock
npm install --package-lock
Example 2: npmrc package-lock
//Global
npm config set package-lock false
//Local
echo 'package-lock=false' >> .npmrc
npm install --package-lock
//Global
npm config set package-lock false
//Local
echo 'package-lock=false' >> .npmrc