npm generate package-lock.json code example
Example 1: npm generate package-lock.json
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