Error installing Node-Red : Schneider Electric

I'm having an error installing Node-Red, and I'm not able to install it because of this problem, I've tried everything but I can't. Some holy soul could give me a little help.

C:\WINDOWS\system32>npm install -g --unsafe-perm node-red
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm ERR! code ENOTFOUND
npm ERR! syscall getaddrinfo
npm ERR! errno ENOTFOUND
npm ERR! network request to https://wain05400.apa.gad.schneiderelectric.com:4878/node-red failed, reason: getaddrinfo ENOTFOUND wain05400.apa.gad.schneiderelectric.com
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

Why is it trying to fetch from the schneider url? Do you have a proxy configured?
It appears that the configured server is not available.

So, I didn't change it, out of nowhere it just stopped working and when I try to install node red this happens, I wanted to know how I can put the correct server to be able to download.

Are you on a corporate network? If so then ask your IT department why it is going there.

I suppose you could try running
npm set registry https://www.npmjs.com
to see if that overrides it, but I would talk to IT first in case there is a good reason for the current configuration.

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