Failed to install

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:

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

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?

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

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:

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

I have no idea actually.

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

It is possible you have something in your 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.

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