# Raspbian, node-red-email and v0.19.4 update fails?

**URL:** <https://discourse.nodered.org/t/raspbian-node-red-email-and-v0-19-4-update-fails/3739>\
**Category:** General\
**Created:** [6 October 2018 14:40 UTC](https://discourse.nodered.org/t/raspbian-node-red-email-and-v0-19-4-update-fails/3739 "2018-10-06T14:40:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wb666greene](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wb666greene/32/6534_2.png) [@wb666greene](https://discourse.nodered.org/u/wb666greene)\
**Post date:** [6 October 2018 14:40 UTC](https://discourse.nodered.org/t/raspbian-node-red-email-and-v0-19-4-update-fails/3739/1 "2018-10-06T14:40:14Z")

</div>

I've just setup a new Pi3B+ with latest Raspbian + all updates and installed the Movidius sdk V2. Before I clone the card, I installed node-red from the "Software Center" and then ran the upgrade script.

Manage Pallet shows I have node-red version 0.19.4, installed the dashboard and noticed node-red-node-email was v0.1.29. Update to 1.0.4 fails with "module not locally installed" I thought the upgrade script was supposed to fix this.

This is my first effort with 0.19.4, all my other systems are in "if it ain't broke, don't fix it!" mode working as required using older versions.

A stop and restart of node-red made no difference. How to fix? Issue with update script? Stick with the old version of the email node? Its one I definitely need to use.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [6 October 2018 15:01 UTC](https://discourse.nodered.org/t/raspbian-node-red-email-and-v0-19-4-update-fails/3739/2 "2018-10-06T15:01:37Z")

</div>

Hi, yes - as the email node is one of the core one it's buried a little deeper so (for now) you'l have to remove the old one by hand and then add the new one locally

```auto
cd /usr/lib/node_modules/node-red
sudo npm uninstall --unsafe-perm --save node-red-node-email
cd ~/.node-red
npm i --save node-red-node-email

```

---

<div class="post-metadata">

**Author:** ![wb666greene](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wb666greene/32/6534_2.png) [@wb666greene](https://discourse.nodered.org/u/wb666greene)\
**Post date:** [6 October 2018 18:40 UTC](https://discourse.nodered.org/t/raspbian-node-red-email-and-v0-19-4-update-fails/3739/3 "2018-10-06T18:40:07Z")

</div>

Thanks!  
After I remove the old one, can I install the new one with Manage Pallet, or do I have to install it again manually?

Your answer seems to suggest the latter, but I thought I'd ask for clarification.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [6 October 2018 18:58 UTC](https://discourse.nodered.org/t/raspbian-node-red-email-and-v0-19-4-update-fails/3739/4 "2018-10-06T18:58:14Z")

</div>

Only one way to find out....

---

<div class="post-metadata">

**Author:** ![wb666greene](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wb666greene/32/6534_2.png) [@wb666greene](https://discourse.nodered.org/u/wb666greene)\
**Post date:** [7 October 2018 16:20 UTC](https://discourse.nodered.org/t/raspbian-node-red-email-and-v0-19-4-update-fails/3739/5 "2018-10-07T16:20:31Z")

</div>

> [@dceejay](#):
>
> Only one way to find out....

FYI.  
I did:  
node-red-stop  
cd /usr/lib/node\_modules/node-red  
sudo npm uninstall --unsafe-perm --save node-red-node-email

Followed by node-red-start after the ininstall completed, took a surprisingly long time to unistall.

Searched for node-red-node-email in Manage Pallet, and am installing v 1.04 now. Seems OK.

Thanks!
