Problem updating email node

#1

I am running Node Red on a Raspberry Pi.
I have read many similar scripts, but can't seem to resolve this problem using their solutions.

I ran the upgrade script:

bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)

Now running Node-Red 0.19.5.

However I am still having problems updating the email node (currently . In Palette manager I receive the following error when I try to update: "Failed to Update. Module not Installed locally".

Should it be a local or globe installation?
Is it a core node/module?

When I run: npm list -g node-red-node-email
It returns:
/usr/lib
└─┬ node-red@0.19.5
└── node-red-node-email@0.1.29

I tried running "sudo npm uninstall -g node-red-node-email", but this didn't seem to work.

Any suggestions would be greatly appreciated.

#2

See Help with "Module not locally installed.."
I had the same problem!

#3

Thank you for responding.

I read through that thread several times. I had assumed there must have been a better solution.

I have made a post in that thread.

#4

If I understand the thread correctly the workaround is just to install it locally. It is not necessary to remove the global version

#5

That appears to be the case. There is now a good explanation in the other thread.