I'm trying to update node-red-node-email from Node-red's manage pallete section, but it throws error that the module is not installed locally.
So after reading forums I found out that I need to see where my module is initially installed and for that I ran the command npm ls -g node-red-node-email which returned the following result:
However, when I install the module globally (as per forums instructions) with the command sudo npm ls -g node-red-node-email and re-run the npm ls -g node-red-node-email command, so the hierarchy ends up like this:
/usr/lib ├─┬ firstname.lastname@example.org │ └── email@example.com └── firstname.lastname@example.org
So, my question is, why do I end up with two different instances of same module? and where exactly is ver 1.0.1 residing?
Also, how can I fix this? (preferably by removing the old version)