# Can not install a module

**URL:** <https://discourse.nodered.org/t/can-not-install-a-module/4169>\
**Category:** General\
**Created:** [21 October 2018 11:17 UTC](https://discourse.nodered.org/t/can-not-install-a-module/4169 "2018-10-21T11:17:41Z")\
**Posts on this page:** 4\
**Page:** 2

<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:** [21 October 2018 13:53 UTC](https://discourse.nodered.org/t/can-not-install-a-module/4169/21 "2018-10-21T13:53:39Z")

</div>

> [@Luc](#):
>
> I do not have a node-red log file in / var / logs /

nodered-install.log (there was a typo in my original post which I corrected but I would have thought you would have noticed the file and it does tell you the name when you run the script.  
Did you run the bash \<(curl script?

What version of npm have you got now?

---

<div class="post-metadata">

**Author:** ![Luc](https://avatars.discourse-cdn.com/v4/letter/l/9dc877/32.png) [@Luc](https://discourse.nodered.org/u/Luc)\
**Post date:** [21 October 2018 14:15 UTC](https://discourse.nodered.org/t/can-not-install-a-module/4169/22 "2018-10-21T14:15:34Z")

</div>

sudo npm update

node --version && npm --version  
v8.11.1  
1.4.21

---

<div class="post-metadata">

**Author:** ![Luc](https://avatars.discourse-cdn.com/v4/letter/l/9dc877/32.png) [@Luc](https://discourse.nodered.org/u/Luc)\
**Post date:** [21 October 2018 14:16 UTC](https://discourse.nodered.org/t/can-not-install-a-module/4169/23 "2018-10-21T14:16:56Z")

</div>

version above in the list...

Is good

...Node v8.12.0 Npm 6.4.1

New version

Thank you very much Ukmoose  
The only command line not done, was the good one.  
Just that I did not understand what she had to do and how the shakespear language is not mine. I did not dare.  
Like what sometimes, you have to.

thank you

I can go forward.

---

<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:** [21 October 2018 14:39 UTC](https://discourse.nodered.org/t/can-not-install-a-module/4169/24 "2018-10-21T14:39:59Z")

</div>

The command that 3 different people have suggested you run is on the raspberry pi page  
[https://nodered.org/docs/hardware/raspberrypi](https://nodered.org/docs/hardware/raspberrypi)

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

```

[Previous page](https://discourse.nodered.org/t/can-not-install-a-module/4169.md?page=1)
