# Problem with updating node-red

**URL:** <https://discourse.nodered.org/t/problem-with-updating-node-red/13450>\
**Category:** General\
**Created:** [18 July 2019 15:22 UTC](https://discourse.nodered.org/t/problem-with-updating-node-red/13450 "2019-07-18T15:22:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrkurt](https://avatars.discourse-cdn.com/v4/letter/m/3be4f8/32.png) [@mrkurt](https://discourse.nodered.org/u/mrkurt)\
**Post date:** [18 July 2019 15:22 UTC](https://discourse.nodered.org/t/problem-with-updating-node-red/13450/1 "2019-07-18T15:22:16Z")

</div>

When I update node-red to the latest version, an error occurs all the time:

npm ERR! code E404

npm ERR! 404 Not Found - GET [https://registry.npmjs.org/@node-red%2Fruntime](https://registry.npmjs.org/@node-red%2fruntime) - User not found

npm ERR! 404

npm ERR! 404 '@node-red/runtime@0.20.7' is not in the npm registry.

npm ERR! 404 You should bug the author to publish it (or use the name yourself!)

npm ERR! 404 It was specified as a dependency of 'node-red'

npm ERR! 404

npm ERR! 404 Note that you can also install from a

npm ERR! 404 tarball, folder, http url, or git url.

npm config set registry [http://registry.npmjs.org/](http://registry.npmjs.org/) - didn't help

Has anyone encountered such a problem? How can I fix?

---

<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:** [18 July 2019 15:45 UTC](https://discourse.nodered.org/t/problem-with-updating-node-red/13450/2 "2019-07-18T15:45:31Z")

</div>

What computer and operating system are you using?  
What command are you running to upgrade node-red?  
What does the command  
`npm -v`  
show?

---

<div class="post-metadata">

**Author:** ![mrkurt](https://avatars.discourse-cdn.com/v4/letter/m/3be4f8/32.png) [@mrkurt](https://discourse.nodered.org/u/mrkurt)\
**Post date:** [18 July 2019 21:04 UTC](https://discourse.nodered.org/t/problem-with-updating-node-red/13450/3 "2019-07-18T21:04:39Z")

</div>

npm -v  
6.10.1  
node -v  
v10.16.0  
MacBook Air (13-inch, Mid 2013)  
macOS Mojave 10.14.5  
I used command: sudo npm install -g --unsafe-perm node-red

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [18 July 2019 21:07 UTC](https://discourse.nodered.org/t/problem-with-updating-node-red/13450/4 "2019-07-18T21:07:01Z")

</div>

How many times have you tried? It could have been a temporary issue with the npm public repository.

---

<div class="post-metadata">

**Author:** ![mrkurt](https://avatars.discourse-cdn.com/v4/letter/m/3be4f8/32.png) [@mrkurt](https://discourse.nodered.org/u/mrkurt)\
**Post date:** [18 July 2019 21:10 UTC](https://discourse.nodered.org/t/problem-with-updating-node-red/13450/5 "2019-07-18T21:10:01Z")

</div>

probably 30 times. I deleted the node js, installed again, and so on in few different ways. nothing helps. google also didn't help

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [18 July 2019 21:12 UTC](https://discourse.nodered.org/t/problem-with-updating-node-red/13450/6 "2019-07-18T21:12:02Z")

</div>

What network are you on? Home, office, mobile?

The issue is with whatever is responding to the request to [https://registry.npmjs.org/@node-red%2Fruntime](https://registry.npmjs.org/@node-red%2Fruntime). Maybe something is getting in the way on the network.

---

<div class="post-metadata">

**Author:** ![mrkurt](https://avatars.discourse-cdn.com/v4/letter/m/3be4f8/32.png) [@mrkurt](https://discourse.nodered.org/u/mrkurt)\
**Post date:** [18 July 2019 21:17 UTC](https://discourse.nodered.org/t/problem-with-updating-node-red/13450/7 "2019-07-18T21:17:07Z")

</div>

I tried to update at home and in the office. Could you tell me what could be the problems with the network and how to identify them?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [18 July 2019 21:36 UTC](https://discourse.nodered.org/t/problem-with-updating-node-red/13450/8 "2019-07-18T21:36:11Z")

</div>

I have no idea what could be causing this. Sorry.

If the log output is to believed then an HTTP request to the public npm repository is returning a 404.

Have you tried opening [https://registry.npmjs.org/@node-red%2Fruntime](https://registry.npmjs.org/@node-red%2Fruntime) in your browser? Does it load?

---

<div class="post-metadata">

**Author:** ![mrkurt](https://avatars.discourse-cdn.com/v4/letter/m/3be4f8/32.png) [@mrkurt](https://discourse.nodered.org/u/mrkurt)\
**Post date:** [18 July 2019 21:44 UTC](https://discourse.nodered.org/t/problem-with-updating-node-red/13450/9 "2019-07-18T21:44:06Z")

</div>

yes, it opens in the browser. anyway thanks for the help
