npm install not creating a new package-lock.json

后端 未结 5 418
醉梦人生
醉梦人生 2021-02-01 12:49

I accidentally deleted my package-lock.json file. npm install is not generating a new one. How do I get npm to recreate this file.

5条回答
  •  礼貌的吻别
    2021-02-01 13:16

    I was also facing the same issue

    I just removed the package-lock=false from .npmrc and now it is creating the lock file

提交回复
热议问题