Problem installing Dashboard

I am trying to install the Node-Red dashboard on a Yocto build.

When I try to install the dashboard, I get the following error.

2020-05-01T20: 36: 36.138Z Install: node-red-dashboard 2.21.0

2020-05-01T20: 36: 35.925Z npm install --no-audit --no-update-notifier --save --save-prefix = "~" --production node-red-dashboard@2.21.0
2020-05-01T20: 36: 40.537Z [err] npm
2020-05-01T20: 36: 40.538Z [err]
2020-05-01T20: 36: 40.538Z [err] ERR! code
2020-05-01T20: 36: 40.539Z [err] ENOTFOUND
2020-05-01T20: 36: 40.539Z [err] npm
2020-05-01T20: 36: 40.540Z [err] ERR! errno
2020-05-01T20: 36: 40.540Z [err] ENOTFOUND
2020-05-01T20: 36: 40.544Z [err] npm
2020-05-01T20: 36: 40.544Z [err] ERR! network request to https://registry.npmjs.org/node-red-dashboard failed, reason: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
2020-05-01T20: 36: 40.545Z [err] npm
2020-05-01T20: 36: 40.545Z [err] ERR! network
2020-05-01T20: 36: 40.545Z [err] This is a problem related to network connectivity.
2020-05-01T20: 36: 40.545Z [err] npm
2020-05-01T20: 36: 40.545Z [err] ERR! network In most cases you are behind a proxy or have bad network settings.
2020-05-01T20: 36: 40.546Z [err] npm ERR!
2020-05-01T20: 36: 40.546Z [err] network
2020-05-01T20: 36: 40.546Z [err] npm ERR!
2020-05-01T20: 36: 40.546Z [err] network If you are behind a proxy, please make sure that the
2020-05-01T20: 36: 40.546Z [err] npm ERR!
2020-05-01T20: 36: 40.547Z [err] network 'proxy' config is set properly. See: 'npm help config'
2020-05-01T20: 36: 40.660Z [err]
2020-05-01T20: 36: 40.661Z [err] npm ERR!
2020-05-01T20: 36: 40.661Z [err] A complete log of this run can be found in:
2020-05-01T20: 36: 40.661Z [err] npm ERR!
2020-05-01T20: 36: 40.661Z [err] /home/root/.npm/_logs/2020-05-01T20_36_40_552Z-debug.log
2020-05-01T20: 36: 40.680Z rc = 1

Any ideas?.

I have checked the internet settings, and it works correctly. I ping google.com and it responds correctly.

Thank you very much in advance

https://registry.npmjs.org/node-red-dashboard
Can you open that in a browser on the node red machine? If so then it was probably temporary, try again.

Hi.

Thanks for your prompt response.

In the Yocto distribution there is no possibility to launch a browser.

I have tried to install another package on node-red and it also gives error. I don't know if this can help in I go out.

Thank you.

well can you ping registry.npmjs.org
or curl https://registry.npmjs.org/node-red-dashboard

Either way it's failing to get to the download page to pull the package - so somewhere between you and there there is a break. - hopefully it will return.

Hi. I have found the error. I step on the clue that I don't know I could find the domain.

Apparently my ISP was having difficulty reaching registry.npmjs.org

Fortunately earlier today, I spoke to a level 2 technician and he has solved the problem.

Thanks in advance for the help.!!!

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