当我尝试删除包时,我得到了这个提示:
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
文件?