Monday 31 December 2018

Uninstalling packages - dependencies being updated but some node modules not being removed?

So I am starting with a blank package.json and no other files or modules in the directory. I install a package with a dev_dependency reference using:npm install myPackage -DTrying to uninstall a package and remove the dev_dependency reference in package.json using:npm uninstall myPackage -DThis works successfully although I noticed that some of installed node modules still remain, including a blank folder from the package I installed. Is this to be expected? Also how do I completely remove any folders left over from the previously installed package? Thanks.

Submitted January 01, 2019 at 02:42AM by Guest911911

No comments:

Post a Comment