How-to-npm can't publish/login/start server (part solved and part abandoned)

Stopped midway through the how-to-npm challenge (running local, not cloud9 - using Windows 10)
try to publish per the challenge and it says I need to npm adduser to authorize the machine, try to do that and get this

npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "adduser"
npm ERR! node v7.3.0
npm ERR! npm  v4.1.1
npm ERR! code ECONNREFUSED
npm ERR! errno ECONNREFUSED
npm ERR! syscall connect

npm ERR! Error: connect ECONNREFUSED 127.0.0.1:15443
npm ERR!     at Object.exports._errnoException (util.js:1022:11)
npm ERR!     at exports._exceptionWithHostPort (util.js:1045:20)
npm ERR!     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1090:14)
npm ERR!  { Error: connect ECONNREFUSED 127.0.0.1:15443
npm ERR!     at Object.exports._errnoException (util.js:1022:11)
npm ERR!     at exports._exceptionWithHostPort (util.js:1045:20)
npm ERR!     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1090:14)
npm ERR!   code: 'ECONNREFUSED',
npm ERR!   errno: 'ECONNREFUSED',
npm ERR!   syscall: 'connect',
npm ERR!   address: '127.0.0.1',
npm ERR!   port: 15443 }
npm ERR!
npm ERR! If you are behind a proxy, please make sure that the
npm ERR! 'proxy' config is set properly.  See: 'npm help config'

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Program Files\nodejs\how2npm\npm-debug.log```

it worked fine the first day I used it, now there seems to be no server running on the localhost at port 15443, and no file to start one...
any help appreciated...

Jumped back to the login challenge and then went back to the one I needed and it worked.
Next challenges were useless, won’t re-publish or allow tags set. Going to put this off for now, maybe better luck on the raspberry pi and linux (windows program files directory required separate fixes because of the space) Git challenges all passed except the one which requires the now inoperable reprorobot…
starting to like Rails more with each passing outdated backend cli tutorial.

Just skip how-to-npm if it’s not working. If you can install/remove packages, you’re fine. The git challenges weren’t reliable for me either, and while the topics it teaches are important, it’s not worth the frustration if it’s breaking.

1 Like