Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

Edited Issue: npm modules in hierarchy not updated when npm uninstall used from command line without --save [514]

$
0
0
Visual Studio 2012 Ultimate, Windows 8

If you uninstall a module from the command line with:

npm uninstall modulename

the hierarchy under npm in Solution Explorer does not update to show that the module is missing (it does if you delete it manually from the node_modules folder in Visual Studio).

If instead you do:

npm uninstall modulename --save

the hierarchy does update and the module is removed as expected in this case.

Viewing all articles
Browse latest Browse all 4630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>