# Cant reinstall NR

**URL:** https://discourse.nodered.org/t/cant-reinstall-nr/49369
**Category:** General
**Created:** [5 August 2021 09:18 UTC](https://discourse.nodered.org/t/cant-reinstall-nr/49369 "2021-08-05T09:18:21Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![funhall](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/funhall/32/36062_2.png) [@funhall](https://discourse.nodered.org/u/funhall)
#### Post date: [5 August 2021 09:18 UTC](https://discourse.nodered.org/t/cant-reinstall-nr/49369/1 "2021-08-05T09:18:21Z")

</div>

My Node-red broke. Dont know the reason.  
I get the error in picture to the left.  
I try reinstal but Npm missing.  
Please help me

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/5/157e0e8f87edcb7e433e39760b259053926e0f93.jpeg)

---

<div class="post-metadata">

### Author: ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)
#### Post date: [5 August 2021 09:45 UTC](https://discourse.nodered.org/t/cant-reinstall-nr/49369/2 "2021-08-05T09:45:15Z")

</div>

hello Funhall .. there seems to be a problem with your npm  
You can try :

1. backup your flows
2. `sudo apt-get remove nodejs`
3. `sudo apt-get remove npm`
4. run the NodeRed script again :

`bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)`

---

<div class="post-metadata">

### Author: ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)
#### Post date: [6 August 2021 09:34 UTC](https://discourse.nodered.org/t/cant-reinstall-nr/49369/3 "2021-08-06T09:34:22Z")

</div>

By the way .. Is this resolved ? (because i see you opened some other topics on the forum)  
did you manage to fix the problem ?

if yes, its good to give some feedback in order to help others that may read this in the future.

---

<div class="post-metadata">

### Author: ![funhall](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/funhall/32/36062_2.png) [@funhall](https://discourse.nodered.org/u/funhall)
#### Post date: [6 August 2021 09:36 UTC](https://discourse.nodered.org/t/cant-reinstall-nr/49369/4 "2021-08-06T09:36:37Z")

</div>

Yes I made a new SD cart installation. That did it....

---

<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: [20 August 2021 09:37 UTC](https://discourse.nodered.org/t/cant-reinstall-nr/49369/5 "2021-08-20T09:37:29Z")

</div>

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