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