当我尝试删除一个包时,我得到了这个提示:“npm notice创建了一个lockfile作为package-lock.json。你应该提交这个文件。”怎么提交?

时间:2017-08-28 05:31:32

标签: node.js ionic-framework npm package install

当我尝试删除包时,我得到了这个提示:

npm WARN saveError ENOENT: no such file or directory, open 'D:\Program Files\nodejs\package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open 'D:\Program Files\nodejs\package.json'
npm WARN nodejs No description
npm WARN nodejs No repository field.
npm WARN nodejs No README data
npm WARN nodejs No license field.

added 27 packages, removed 231 packages, updated 5 packages and moved 11 packages in 104.617s

我不熟悉node.js。这些提示的含义是什么?我怎么能(以及我为什么要)提交package-lock.json文件?

0 个答案:

没有答案