how to install package-lock.json for react code example Example: npm generate package-lock.json npm install --package-lock