# Fix errors node-red modules

**URL:** <https://discourse.nodered.org/t/fix-errors-node-red-modules/10549>\
**Category:** General\
**Created:** [25 April 2019 16:26 UTC](https://discourse.nodered.org/t/fix-errors-node-red-modules/10549 "2019-04-25T16:26:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![luisgcu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/luisgcu/32/4549_2.png) [@luisgcu](https://discourse.nodered.org/u/luisgcu)\
**Post date:** [25 April 2019 16:26 UTC](https://discourse.nodered.org/t/fix-errors-node-red-modules/10549/1 "2019-04-25T16:26:13Z")

</div>

Hello guys,  
I got some module errors after nodered updated. I tried a lot things to get rid of the error but nothing seems to work.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/a/a8edd580582eff20341f0049e14e1a9cfa83705d.png)

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/0/0a7132b0a71d1dfe3a79b729f16c737459720ff4.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/4/4e436716a4bf58cc5380c9df55a4f13c077a36d9.png)  
I tried npm remove, install, rebuild without success.  
Any advice?  
Thanks

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [25 April 2019 16:33 UTC](https://discourse.nodered.org/t/fix-errors-node-red-modules/10549/2 "2019-04-25T16:33:05Z")

</div>

What os are you running on?  
What platform?

---

<div class="post-metadata">

**Author:** ![luisgcu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/luisgcu/32/4549_2.png) [@luisgcu](https://discourse.nodered.org/u/luisgcu)\
**Post date:** [25 April 2019 16:37 UTC](https://discourse.nodered.org/t/fix-errors-node-red-modules/10549/3 "2019-04-25T16:37:06Z")

</div>

raspberry pi

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [25 April 2019 16:40 UTC](https://discourse.nodered.org/t/fix-errors-node-red-modules/10549/4 "2019-04-25T16:40:39Z")

</div>

run the upgrade script again and if there are any errors copy and paste the output here

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [25 April 2019 17:20 UTC](https://discourse.nodered.org/t/fix-errors-node-red-modules/10549/5 "2019-04-25T17:20:57Z")

</div>

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

```

To be exact.

---

<div class="post-metadata">

**Author:** ![luisgcu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/luisgcu/32/4549_2.png) [@luisgcu](https://discourse.nodered.org/u/luisgcu)\
**Post date:** [25 April 2019 18:20 UTC](https://discourse.nodered.org/t/fix-errors-node-red-modules/10549/6 "2019-04-25T18:20:58Z")

</div>

ran the upgrade scrip for a second time and the error persist.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/6/63fb5aba8eccb10f76d6cc446647775954c493b1.png)  
the log:

```auto
Started : Thu Apr 25 14:10:54 EDT 2019
Running for user pi at /home/pi
Found global nodes: :
Reading package lists...
Building dependency tree...
Reading state information...
Package 'nodered' is not installed, so not removed
The following package was automatically installed and is no longer required:
  libapparmor1
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
/usr/bin/node-red -> /usr/lib/node_modules/node-red/red.js
/usr/bin/node-red-pi -> /usr/lib/node_modules/node-red/bin/node-red-pi

> bcrypt@3.0.5 install /usr/lib/node_modules/node-red/node_modules/bcrypt
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download 
node-pre-gyp WARN Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.5/bcrypt_lib-v3.0.5-node-v57-linux-arm-glibc.tar.gz 
node-pre-gyp WARN Pre-built binaries not found for bcrypt@3.0.5 and node@8.16.0 (node-v57 ABI, glibc) (falling back to source compile with node-gyp) 
make: Entering directory '/usr/lib/node_modules/node-red/node_modules/bcrypt/build'
  CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
  CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o
  CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o
  SOLINK_MODULE(target) Release/obj.target/bcrypt_lib.node
  COPY Release/bcrypt_lib.node
  COPY /usr/lib/node_modules/node-red/node_modules/bcrypt/lib/binding/bcrypt_lib.node
  TOUCH Release/obj.target/action_after_build.stamp
make: Leaving directory '/usr/lib/node_modules/node-red/node_modules/bcrypt/build'
+ node-red@0.20.5
added 353 packages from 347 contributors in 229.369s
0.20.5 
The user `pi' is already a member of `gpio'.
Finished : Thu Apr 25 14:10:54 EDT 2019

```

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [25 April 2019 20:24 UTC](https://discourse.nodered.org/t/fix-errors-node-red-modules/10549/7 "2019-04-25T20:24:21Z")

</div>

What happens if you do

```bash
cd ~/.node-red
npm install node-red-node-email

```
