相关疑难解决方法(0)

npm安装不起作用

操作系统Windows 7 64位

当我使用npm install gulp时,npm不起作用.

我很迷茫....

错误代码:

npm ERR! Error: connect ECONNREFUSED
npm ERR!     at errnoException (net.js:878:11)
npm ERR!     at Object.afterConnect [as oncomplete] (net.js:869:19)
npm ERR!  { [Error: connect ECONNREFUSED]
npm ERR!   code: 'ECONNREFUSED',
npm ERR!   errno: 'ECONNREFUSED',
npm ERR!   syscall: 'connect' }
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! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" …
Run Code Online (Sandbox Code Playgroud)

node.js npm gulp

10
推荐指数
1
解决办法
2万
查看次数

npm安装错误连接ECONNREFUSED 127.0.0.1:8080

香港专业教育学院刚刚开始研究我的第一个节点JS应用程序,同时尝试通过npm安装快递,我得到以下错误:

 Error: connect ECONNREFUSED 127.0.0.1:8080
     at Object.exports._errnoException (util.js:870:11)
     at exports._exceptionWithHostPort (util.js:893:20)
     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1057:14)
  { [Error: connect ECONNREFUSED 127.0.0.1:8080]
   code: 'ECONNREFUSED',
   errno: 'ECONNREFUSED',
   syscall: 'connect',
   address: '127.0.0.1',
   port: 8080 }
Run Code Online (Sandbox Code Playgroud)

并在npm-debug:

36 verbose stack Error: connect ECONNREFUSED 127.0.0.1:8080
36 verbose stack     at Object.exports._errnoException (util.js:870:11)
36 verbose stack     at exports._exceptionWithHostPort (util.js:893:20)
36 verbose stack     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1057:14)
37 verbose cwd C:\APS\NodeJS
38 error Windows_NT 6.1.7601
39 error argv "C:\\APS\\NodeJS\\node.exe" "C:\\APS\\NodeJS\\node_modules\\npm\\bin\\npm-cli.js" "install" "express"
40 error node v4.4.0
41 …
Run Code Online (Sandbox Code Playgroud)

node.js express npm-install

2
推荐指数
1
解决办法
6038
查看次数

标签 统计

node.js ×2

express ×1

gulp ×1

npm ×1

npm-install ×1