Tuesday 11 April 2017

Error while installing express in nodejs

I already installed nodejs .I want to install expressjs using npm command.While installing I have some error.The errors are:

*

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
C:\windows\system32>c..
'c..' is not recognized as an internal or external command,
operable program or batch file.
C:\windows\system32>cd ..
C:\Windows>d:
D:\>cd expressfirstprogram
D:\expressfirstprogram>npm install express
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "install" "express"
npm ERR! node v7.5.0
npm ERR! npm  v4.1.2
npm ERR! code ECONNREFUSED
npm ERR! errno ECONNREFUSED
npm ERR! syscall connect
npm ERR! Error: connect ECONNREFUSED 151.101.16.162:443
npm ERR!     at Object.exports._errnoException (util.js:1023:11)
npm ERR!     at exports._exceptionWithHostPort (util.js:1046:20)
npm ERR!     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1090:14)
npm ERR!  { Error: connect ECONNREFUSED 151.101.16.162:443
npm ERR!     at Object.exports._errnoException (util.js:1023:11)
npm ERR!     at exports._exceptionWithHostPort (util.js:1046: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: '151.101.16.162',
npm ERR!   port: 443 }
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!     D:\expressfirstprogram\npm-debug.log

*

can you help me to solve this issue?



via B.AGASTHIYA

No comments:

Post a Comment