node.js - npm install whatever --save is not saving into my package.json? -


i have been installing packages , noticed not many of packages in package.json? --save when install. in fact installed 10 dependencies , none saved.

has run before?

try --save-dev when installing npm package. save devdependencies used in development. --save save dependencies. may there no dependencies dependent on project.


Comments

Popular posts from this blog

c++ - CPP, 'X' button listener -

shared memory - gstreamer shmsrc and shmsink with h264 data -

.net - Bulk insert via Dapper is slower than inserting rows one-by-one -