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

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -