Regenerate the package-lock.json with "npm install". code example Example: npm generate package-lock.json npm install --package-lock