Node.Js module installation issue
- Node.js Version: 8.11.3
- OS:Windows 10 (64 bit)
- Scope (install, code, runtime, meta, other?): install
- Module (and version) (if relevant): none of the modules are getting installed
I'm unable to install node modules from Node.Js command prompt window. Tried to install excel, mysql npm install excel npm install mysql
Getting FetchError: request to https://registry.npmjs.org/excel failed, reason: connect ECONNREFUSED 104.18.94.96:443
Have attached the log file for reference. I tried to change proxy in .npmsrc file but still no luck. So is the IP address shown here in attached log file is from NodeJs server? And do you think access to this ip is blocking?
Can anyone please help me how to resolve this issue.
😄 No you don't want to install npm packages in there, that's an excellent place for running code like your in the browser console, like to test a quick function, however you want to be in the command prompt window, not the node command prompt
<package> was for example, but you want something like
npm install excel and you should be good to go. Im gonna close issue, but if your still having problems reopen & we will continue from there. 👍

@seemadas123 : You mention ".npmsrc' - hopefully that was just a typo, but the configuration file name should be '.npmrc' (no 's'). However, if you have no other configuration settings, and rather than putting that file in the wrong place, you might just prefer to configure your proxy setting via HTTPS_PROXY environment variable?