When I try to remove a package, I got this hint:
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
I'm not familiar with node.js
. What's the meaning of these hints? And how can I (and why should I) commit the package-lock.json
file?