Have you deleted package-lock.json file? don't worry Run below command to generate package-lock.json file in your folder. npm i --package-lock-only