# Install node-red have error

**URL:** https://discourse.nodered.org/t/install-node-red-have-error/38001
**Category:** General
**Created:** [25 December 2020 10:06 UTC](https://discourse.nodered.org/t/install-node-red-have-error/38001 "2020-12-25T10:06:33Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![muzi](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@muzi](https://discourse.nodered.org/u/muzi)
#### Post date: [25 December 2020 10:06 UTC](https://discourse.nodered.org/t/install-node-red-have-error/38001/1 "2020-12-25T10:06:34Z")

</div>

Hello friends:  
I use npm install node-red have below error,i don't know in our forum who come across this before ,please help me solve it ,Thanks in advance.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/9/a9bd63da7531a3b9861b58ec5b36f98593e70429.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/8/38628d6725df977253f656e913324499a4559a2e.png)  
Does my environment have some issue?

---

<div class="post-metadata">

### Author: ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)
#### Post date: [25 December 2020 10:17 UTC](https://discourse.nodered.org/t/install-node-red-have-error/38001/2 "2020-12-25T10:17:41Z")

</div>

It's not clear on what device you are trying to install NR and how you try to install it.

Use for raspberry the script on this page: [https://nodered.org/docs/getting-started/raspberrypi](https://nodered.org/docs/getting-started/raspberrypi)

---

<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 December 2020 10:25 UTC](https://discourse.nodered.org/t/install-node-red-have-error/38001/3 "2020-12-25T10:25:41Z")

</div>

In fact for any Debian based OS such as Ubuntu also use that script. For other systems see [here](https://nodered.org/docs/getting-started/local).

---

<div class="post-metadata">

### Author: ![muzi](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@muzi](https://discourse.nodered.org/u/muzi)
#### Post date: [25 December 2020 13:48 UTC](https://discourse.nodered.org/t/install-node-red-have-error/38001/4 "2020-12-25T13:48:30Z")

</div>

Thanks @edje11 and @Colin for your quick reply,I use NXP I.mx8 mini which installed with arch linux ,can't use script for debian ,also can't use other system method , because don't have pacman(metioned in Colin sharing link ).it's a sad thing 😂

---

<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 December 2020 21:10 UTC](https://discourse.nodered.org/t/install-node-red-have-error/38001/5 "2020-12-25T21:10:25Z")

</div>

If you notice you will see that it is complaining about not have a C compiler, I think you need to install whatever for that OS is the equivalent of, on Ubuntu, the package build-essential. If, after installing that, it still fails to install node-red can you post the result of trying to install, including the command line showing what you entered. If possible please copy/paste the text of the log here rather than a screenshot. When pasting use the `</>` button at the top of the form entry window.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [23 February 2021 21:10 UTC](https://discourse.nodered.org/t/install-node-red-have-error/38001/6 "2021-02-23T21:10:44Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
