# Failed to install

**URL:** <https://discourse.nodered.org/t/failed-to-install/55364>\
**Category:** General\
**Created:** [17 December 2021 20:48 UTC](https://discourse.nodered.org/t/failed-to-install/55364 "2021-12-17T20:48:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elpee](https://avatars.discourse-cdn.com/v4/letter/e/dec6dc/32.png) [@Elpee](https://discourse.nodered.org/u/Elpee)\
**Post date:** [17 December 2021 20:48 UTC](https://discourse.nodered.org/t/failed-to-install/55364/1 "2021-12-17T20:48:08Z")

</div>

Hey there,

Sinds this week I Installed Node Red to use it for an experiment.  
So I want to installe a Palette: 'smart Nora' but I always get the following error:

```auto
2021-12-17T20:43:12.532Z npm.cmd install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-smartnora@1.7.0
2021-12-17T20:44:26.092Z [err] npm
2021-12-17T20:44:26.093Z [err] ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY
2021-12-17T20:44:26.093Z [err] npm ERR!
2021-12-17T20:44:26.093Z [err] errno UNABLE_TO_GET_ISSUER_CERT_LOCALLY
2021-12-17T20:44:26.099Z [err] npm 
2021-12-17T20:44:26.099Z [err] ERR! request to https://registry.npmjs.org/node-red-contrib-smartnora failed, reason: unable to get local issuer certificate
2021-12-17T20:44:26.101Z [err] 
2021-12-17T20:44:26.102Z [err] npm
2021-12-17T20:44:26.102Z [err]  
2021-12-17T20:44:26.102Z [err] ERR! A complete log of this run can be found in:
2021-12-17T20:44:26.102Z [err] npm ERR! C:\Users\elpeee\AppData\Local\npm-cache\_logs\2021-12-17T20_43_14_941Z-debug-0.log
2021-12-17T20:44:26.118Z rc=1

```

Is there somewone who can help me with this?  
Thanks

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [17 December 2021 20:52 UTC](https://discourse.nodered.org/t/failed-to-install/55364/2 "2021-12-17T20:52:11Z")

</div>

You may have to elaborate on what you are entering to get that.  
(What was the command you entered?)

Which version of Node-Red do you think you have?

---

<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 December 2021 10:54 UTC](https://discourse.nodered.org/t/failed-to-install/55364/3 "2021-12-18T10:54:12Z")

</div>

Are you running behind some sort of proxy?  
Are you able to install other nodes or do you get the same problem with them?

---

<div class="post-metadata">

**Author:** ![Elpee](https://avatars.discourse-cdn.com/v4/letter/e/dec6dc/32.png) [@Elpee](https://discourse.nodered.org/u/Elpee)\
**Post date:** [19 December 2021 12:37 UTC](https://discourse.nodered.org/t/failed-to-install/55364/4 "2021-12-19T12:37:45Z")

</div>

I'm watching a lot of youtube movies to learn how to work with node red so i also installed it with an link from youtube. This is the version I have:

```auto
Node-RED version: v2.1.4
Node.js version: v16.13.1
Windows_NT 10.0.19044 x64 LE

```

---

<div class="post-metadata">

**Author:** ![Elpee](https://avatars.discourse-cdn.com/v4/letter/e/dec6dc/32.png) [@Elpee](https://discourse.nodered.org/u/Elpee)\
**Post date:** [19 December 2021 12:39 UTC](https://discourse.nodered.org/t/failed-to-install/55364/5 "2021-12-19T12:39:31Z")

</div>

I have no idea actually.

But I have the problem with all of the nodes that I want to install.

---

<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:** [19 December 2021 13:05 UTC](https://discourse.nodered.org/t/failed-to-install/55364/6 "2021-12-19T13:05:49Z")

</div>

It is possible you have something in your [npmrc](https://docs.npmjs.com/cli/v7/configuring-npm/npmrc) file in the setting `cafile`. Remove that and try again.

If that doesn't work, try these (one at a time) ...

1. Turn off strict ssl: `npm config set strict-ssl=false`
2. Change the registry to http instead of https: `npm config set registry http://registry.npmjs.org/`
3. Change cafile setting: `npm config set cafile /path/to/your/cert.pem`

**Note** options 1 & 2 will reduce security & may be frowned upon by your corporation. Option 3 alone will work if you know what to set it to.

---

<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:** [17 February 2022 13:06 UTC](https://discourse.nodered.org/t/failed-to-install/55364/7 "2022-02-17T13:06:27Z")

</div>

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