npm install not creating a new package-lock.json code example Example: npm generate package-lock.json npm install --package-lock