# 403 error while installing NPM

**URL:** <https://discourse.nodered.org/t/403-error-while-installing-npm/67372>\
**Category:** General\
**Created:** [6 September 2022 05:43 UTC](https://discourse.nodered.org/t/403-error-while-installing-npm/67372 "2022-09-06T05:43:50Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![joey\_ind](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@joey\_ind](https://discourse.nodered.org/u/joey_ind)\
**Post date:** [6 September 2022 05:43 UTC](https://discourse.nodered.org/t/403-error-while-installing-npm/67372/1 "2022-09-06T05:43:50Z")

</div>

I am getting an error when installing NPM .I am a novice and hence need a little hand holding. Please find the list of commands and the error as given below.

C:\Windows\system32\>node --version  
v16.17.0

C:\Windows\system32\>npm --version  
8.19.1

C:\Windows\system32\>npm install -g -unsafe.perm node.red  
npm ERR! code E404  
npm ERR! 404 Not Found - GET [https://registry.npmjs.org/node.red](https://registry.npmjs.org/node.red) - Not found  
npm ERR! 404  
npm ERR! 404 'node.red@\*' is not in this registry.  
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 ERR! A complete log of this run can be found in:  
npm ERR! C:\Users\jokahelpdesk\AppData\Local\npm-cache\_logs\2022-09-06T05\_35\_45\_367Z-debug-0.log

Please help!

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [6 September 2022 06:03 UTC](https://discourse.nodered.org/t/403-error-while-installing-npm/67372/2 "2022-09-06T06:03:08Z")

</div>

Check the command you are typing. -unsafe.perm is incorrect

---

<div class="post-metadata">

**Author:** ![joey\_ind](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@joey\_ind](https://discourse.nodered.org/u/joey_ind)\
**Post date:** [6 September 2022 06:04 UTC](https://discourse.nodered.org/t/403-error-while-installing-npm/67372/3 "2022-09-06T06:04:11Z")

</div>

ok so , how do i install node red after installing node.js?  
What should be the command?

---

<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:** [6 September 2022 06:30 UTC](https://discourse.nodered.org/t/403-error-while-installing-npm/67372/4 "2022-09-06T06:30:57Z")

</div>

See [Running on Windows : Node-RED](https://nodered.org/docs/getting-started/windows)  
Everything you need to know should be there.

---

<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:** [6 September 2022 06:34 UTC](https://discourse.nodered.org/t/403-error-while-installing-npm/67372/5 "2022-09-06T06:34:56Z")

</div>

Also, the package you want to install is `node-red` not `node.red`

---

<div class="post-metadata">

**Author:** ![joey\_ind](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@joey\_ind](https://discourse.nodered.org/u/joey_ind)\
**Post date:** [6 September 2022 06:35 UTC](https://discourse.nodered.org/t/403-error-while-installing-npm/67372/6 "2022-09-06T06:35:43Z")

</div>

Thanks a lot..Followed the instructions and getting the results as given below:  
C:\Windows\system32\> npm install -g --unsafe-perm node-red

added 292 packages, and audited 293 packages in 42s

38 packages are looking for funding  
run `npm fund` for details

5 vulnerabilities (4 low, 1 moderate)

To address issues that do not require attention, run:  
npm audit fix

To address all issues (including breaking changes), run:  
npm audit fix --force

Run `npm audit` for details.

...Probably the installation is not complete..!

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [6 September 2022 06:50 UTC](https://discourse.nodered.org/t/403-error-while-installing-npm/67372/7 "2022-09-06T06:50:11Z")

</div>

> [@joey\_ind](#):
>
> Probably the installation is not complete

It is complete.

Close and reopen your terminal & run `node-red`

---

<div class="post-metadata">

**Author:** ![joey\_ind](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@joey\_ind](https://discourse.nodered.org/u/joey_ind)\
**Post date:** [6 September 2022 08:50 UTC](https://discourse.nodered.org/t/403-error-while-installing-npm/67372/8 "2022-09-06T08:50:26Z")

</div>

Thanks everyone, its working!!

---

<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:** [5 November 2022 08:51 UTC](https://discourse.nodered.org/t/403-error-while-installing-npm/67372/9 "2022-11-05T08:51:19Z")

</div>

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