0

以下のようなnpmエラーが発生します

npm install xmldom
npm http GET https://registry.npmjs.org/xmldom

npm ERR!エラー:ECONNREFUSED
npm ERRを接続してください!errnoException(net.js:670:11)
npm ERR!Object.afterConnectで[oncompleteとして](net.js:661:19)
npm ERR!
npm ERR!プロキシの背後にいる場合は、
npmがERRであることを確認してください。「プロキシ」設定が正しく設定されています。参照:'npm help config'
npm ERR!
npm ERR!システムWindows_NT6.1.7601npm
ERR!コマンド"C:\ Program Files(x86)\ nodejs \\ node.exe" "C:\ Program File
s(x86)\ nodejs \ node_modules \ npm \ bin \ npm-cli.js" "install" "xmldom"
npm ERR!cwd C:\ Users \ panugasu
npm ERR!node -v v0.6.18
npm ERR!npm -v 1.1.21
npm ERR!syscall connect
npm ERR!
npm ERR!メッセージ接続ECONNREFUSEDnpmERR
!errno {}
npm ERR!
npm ERR!追加のロギングの詳細は、
npm ERR!にあります。C:\ Users \ panugasu \ npm-debug.log
npm not ok

しかし、同じセットアップで、たとえば他のモジュールのインストールはうまくいきます

npm install xml2js npm
http GET https://registry.npmjs.org/xml2js
npm http GET https://registry.npmjs.org/saxxml2js@0.1.14./node_modules/xml2js└──sax@0.4.0

これを解決する方法についてすぐに助けが必要です...

以下は、 URLhttps: //registry.npmjs.org/xmldomにアクセスしたときに取得するものです。

{"_id": "xmldom"、 "_ rev": "53-b06f4b669d712be646c86109995af18d"、 "name": "xmldom"、 "description": "W3C標準XMLDOM(Level2 CORE)実装およびパーサー(DOMParser / XMLSerializer)。 "、" dist-tags ":{" latest ":" 0.1.11 "}、" versions ":{" 0.1.0 ":{" name ":" xmldom "、" version ":" 0.1.0"、 "description": "W3C標準ベースのDOMParserおよびXMLSerializer(DOM Level2 CORE)。"、 "keywords":["javascript"、 "XML"、 "DOM"、 "DOMParser"、 "XMLSerializer"]、 "maintainers": [{"name": "jindw"、 "email": "jindw@xidea.org"}]、 "contributors":[]、 "bugs":{"email": "jindw@xidea.org "、" url ":" http://code.google.com/p/lite/issues/list "}、"ライセンス ":[{" type ":" LGPL "、" url ": " http://www.gnu.org/licenses/lgpl.html "}]、 "repositories":[{"type": "svn"、 "url": " http://lite.googlecode.com/svn / trunk / Lite / web / scripts / org / xidea / lite / util / xmlcom / svn / trunk / Lite / web / scripts / org / xidea / lite / util / xmlcom / svn / trunk / Lite / web / scripts / org / xidea / lite / util / xml"}]、"implements":[]、 "dependencies":{}、 "engines":{"node": "> = 0.5"}、 "directories":{"lib": "./"}、 " main ":" ./ dom-parser.js "、" _ npmUser ":{" name ":" jindw "、" email ":" jindw@xidea.org "}、" _ id ":" xmldom@0.1.0" 、"devDependencies":{}、 "_ engineSupported":true、 "_ npmVersion": "1.1.0-alpha-2"、 "_ nodeVersion": "v0.6.3"、 "_ defaultsLoaded":true、 "dist":{" shasum ":" ccf582a2b3b9ada6dbde027d36ca8a3fdcdc3d2e "、" tarball ":" http://registry.npmjs.org/xmldom/-/xmldom-0.1.0.tgz "}}、" 0.1.1 ":{" name ":" xmldom "、"バージョン ":" 0.1.1 "、"description": "W3C標準ベースのDOMParserおよびXMLSerializer(DOM Level2 CORE)。"、 "keywords":["javascript"、 "XML"、 "DOM"、 "DOMParser"、 "XMLSerializer"]、 "maintainers": [{"name": "jindw"、 "email": "jindw@xidea.org"}]、 "contributors":[]、 "bugs":{"email": "jindw@xidea.org"、 "url ":" http://code.google.com/p/lite/issues/list寄稿者":[]、"バグ ":{"メール ":" jindw@xidea.org "、" url ":" http://code.google.com/p/lite/issues/list寄稿者":[]、"バグ ":{"メール ":" jindw@xidea.org "、" url ":" http://code.google.com/p/lite/issues/list"}、"ライセンス ":[{"タイプ ":" LGPL "、" url ":" http://www.gnu.org/licenses/lgpl.html "}]、"リポジトリ ":[{"タイプ " :"svn"、 "url": " http://lite.googlecode.com/svn/trunk/Lite/web/scripts/org/xidea/lite/util/xml "}]、 "implements":[]、 "dependencies":{}、 "engines":{"node": "> = 0.1"}、 "directories":{"lib": "./"}、 "main": "./ dom-parser.js "、" _ npmUser ":{" name ":" jindw "、" email ":" jindw@xidea.org "}、" _ id ":" xmldom@0.1.1"、" devDependencies ":{}、" _ engineSupported " :true、 "_ npmVersion": "1.0.103"、 "_ nodeVersion":"v0.5。10 "、" _ defaultsLoaded ":true、" dist ":{" shasum ":" bb091356c9a9d86a18bca88199deffc52c032e66 "、" tarball ":" http://registry.npmjs.org/xmldom/-/xmldom-0.1.1.tgz"}}、" 0.1.2 ":{" name ":" xmldom "、" version ":" 0.1.2 "、" description ":" W3C標準ベースのDOMParserおよびXMLSerializer(DOMレベル2コア)。"、" keyswords ":[" javascript "、" XML "、" DOM "、" DOMParser "、" XMLSerializer "]、" maintainers ":[{" name ":" jindw "、" email ":" jindw @ xidea .org "}]、" contributors ":[]、" bugs ":{" email ":" jindw@xidea.org "、" url ":" http://code.google.com/p/lite/issues / list "}、"licenses ":[{" type ":" LGPL "、" url ":" http://www.gnu.org/licenses/lgpl.html"}]、" repository ":[{" type ":" git "、" url ":" git://github.com/jindw/xmldom.git "}]、"implements":[]、 "dependencies" :{}、 "engines":{"node": "> = 0.1"}、 "directories":{"lib": "./"}、 "main": "./ dom-parser.js"、 " _npmUser ":{" name ":" jindw "、" email ":" jindw@xidea.org "}、" _ id ":" xmldom@0.1.2 "、" devDependencies ":{}、" _ engineSupported ":true、 "_npmVersion": "1.0.103"、 "_ nodeVersion": "v0.5.10"、 "_ defaultsLoaded":true、 "dist":{"shasum": "39bb0ccdc55d81d5906a2616c2fb024795ca9978"、 "tarball": " http://registry。 npmjs.org/xmldom/-/xmldom-0。1.2.tgz"}}、" 0.1.3 ":{" name ":" xmldom "、" version ":" 0.1.3 "、" description ":" W3C標準ベースのDOMParserおよびXMLSerializer(DOMレベル2コア)。"、"キーワード ":[" javascript "、" XML "、" DOM "、" DOMParser "、" XMLSerializer "]、" maintainers ":[{" name ":" jindw "、" email ":" jindw @ xidea .org "}]、" contributors ":[{" name ":" Yaron Naveh "、" email ":" yaronn01@gmail.com "、" url ":" http://webservices20.blogspot.com/ "} 、{"name": "Harutyun Amirjanyan"、 "email": "amirjanyan@gmail.com"、 "url": " https://github.com/nightwing "}]、 "bugs":{""}]、"リポジトリ ":[{"タイプ ":" git "、" url ":" git://github.com/jindw/xmldom.git "}]、"implements ":[]、"依存関係 " :{}、 "devDependencies":{"wows": " "}、 "engines":{"node": "> = 0.1"}、 "directories":{"lib": "./"}、 "main ":" ./ dom-parser.js "、" _ npmUser ":{" name ":" jindw "、" email ":" jindw@xidea.org "}、" _ id ":" xmldom@0.1.3 "、 "_engineSupported":true、 "_ npmVersion": "1.0.103"、 "_ nodeVersion": "v0.5.10"、 "_ defaultsLoaded":true、 "dist":{"shasum": "0df9b4bc6c13e0cc8c02b87720cc26712be4f5d0"、 "tarball": " http://registry.npmjs.org/xmldom/-/xmldom-0.1.3.tgz"}}、" 0.1.4 ":{" name ":" xmldom "、" version ":" 0.1.4 "、" description ":" W3C標準ベースのDOMParserおよびXMLSerializer(DOM Level2 CORE)。"、" keyswords ":[" javascript "、" XML "、" DOM "、" DOMParser "、" XMLSerializer "]、" maintainers ":[{" name ":" jindw "、" email ":" jindw @ xidea .org "}]、" contributors ":[{" name ":" Yaron Naveh "、" email ":" yaronn01@gmail.com "、" url ":" http://webservices20.blogspot.com/ "} 、{"name": "Harutyun Amirjanyan"、 "email": "amirjanyan@gmail.com"、 "url": " https://github.com/nightwing "}]、 "bugs":{""}]、"リポジトリ ":[{"タイプ ":" git "、" url ":" git://github.com/jindw/xmldom.git "}]、"implements ":[]、"依存関係 " :{}、 "devDependencies":{"wows": " "}、 "engines":{"node": "> = 0.1"}、 "directories":{"lib": "./"}、 "main ":" ./ dom-parser.js "、" _ npmUser ":{" name ":" jindw "、" email ":" jindw@xidea.org "}、" _ id ":" xmldom@0.1.4 "、 "_engineSupported":true、 "_ npmVersion": "1.0.103"、 "_ nodeVersion": "v0.5.10"、 "_ defaultsLoaded":true、 "dist":{"shasum": "f3d1ef1705ed502c73a0b52c2675161fb1c2319d"、 "tarball": " http://registry.npmjs.org/xmldom/-/xmldom-0.1.4.tgz"}}、" 0.1.5 ":{" name ":" xmldom "、" version ":" 0.1.5 "、" description ":" W3C標準ベースのDOMParserおよびXMLSerializer(DOM Level2 CORE)。"、" keyswords ":[" javascript "、" XML "、" DOM "、" DOMParser "、" XMLSerializer "]、" maintainers ":[{" name ":" jindw "、" email ":" jindw @ xidea .org "}]、" contributors ":[{" name ":" Yaron Naveh "、" email ":" yaronn01@gmail.com "、" url ":" http://webservices20.blogspot.com/ "} 、{"name": "Harutyun Amirjanyan"、 "email": "amirjanyan@gmail.com"、 "url": " https://github.com/nightwing "}]、 "bugs":{""}]、"リポジトリ ":[{"タイプ ":" git "、" url ":" git://github.com/jindw/xmldom.git "}]、"implements ":[]、"依存関係 " :{}、 "devDependencies":{"wows": " "}、 "engines":{"node": "> = 0.1"}、 "directories":{"lib": "./"}、 "main ":" ./ dom-parser.js "、" _ npmUser ":{" name ":" jindw "、" email ":" jindw@xidea.org "}、" _ id ":" xmldom@0.1.5 "、 "_engineSupported":true、 "_ npmVersion": "1.0.103"、 "_ nodeVersion": "v0.5.10"、 "_ defaultsLoaded":true、 "dist":{"shasum": "ca8ddeb9252902c6e59ce1de0e0248a8bdc59157"、 "tarball": " http://registry.npmjs.org/xmldom/-/xmldom-0.1.5.tgz"}}、" 0.1.6 ":{" name ":" xmldom "、" version ":" 0.1.6 "、" description ":" W3C標準ベースのDOMParserおよびXMLSerializer(DOM Level2 CORE)。"、" keyswords ":[" javascript "、" XML "、" DOM "、" DOMParser "、" XMLSerializer "]、" maintainers ":[{" name ":" jindw "、" email ":" jindw @ xidea .org "}]、" contributors ":[{" name ":" Yaron Naveh "、" email ":" yaronn01@gmail.com "、" url ":" http://webservices20.blogspot.com/ "} 、{"name": "Harutyun Amirjanyan"、 "email": "amirjanyan@gmail.com"、 "url": " https://github.com/nightwing "}]、 "bugs":{""}]、"リポジトリ ":[{"タイプ ":" git "、" url ":" git://github.com/jindw/xmldom.git "}]、"implements ":[]、"依存関係 " :{}、 "devDependencies":{"wows": " "}、 "engines":{"node": "> = 0.1"}、 "directories":{"lib": "./"}、 "main ":" ./ dom-parser.js "、" _ npmUser ":{" name ":" jindw "、" email ":" jindw@xidea.org "}、" _ id ":" xmldom@0.1.6 "、 "_engineSupported":true、 "_ npmVersion": "1.0.103"、 "_ nodeVersion": "v0.5.10"、 "_ defaultsLoaded":true、 "dist":{"shasum": "1e86209548bbaff7ccd8e7b0f441a8fbef551cd7"、 "tarball": " http://registry.npmjs.org/xmldom/-/xmldom-0.1.6.tgz"}}、" 0.1.7 ":{" name ":" xmldom "、" version ":" 0.1.7 "、" description ":" W3C標準ベースのDOMParserおよびXMLSerializer(DOM Level2 CORE)。"、" keyswords ":[" javascript "、" XML "、" DOM "、" DOMParser "、" XMLSerializer "]、" maintainers ":[{" name ":" jindw "、" email ":" jindw @ xidea .org "}]、" contributors ":[{" name ":" Yaron Naveh "、" email ":" yaronn01@gmail.com "、" url ":" http://webservices20.blogspot.com/ "} 、{"name": "Harutyun Amirjanyan"、 "email": "amirjanyan@gmail.com"、 "url": " https://github.com/nightwing "}]、 "bugs":{""}]、"リポジトリ ":[{"タイプ ":" git "、" url ":" git://github.com/jindw/xmldom.git "}]、"implements ":[]、"依存関係 " :{}、 "devDependencies":{"wows": " "}、 "engines":{"node": "> = 0.1"}、 "directories":{"lib": "./"}、 "main ":" ./ dom-parser.js "、" _ npmUser ":{" name ":" jindw "、" email ":" jindw@xidea.org "}、" _ id ":" xmldom@0.1.7 "、 "_engineSupported":true、 "_ npmVersion": "1.0.103"、 "_ nodeVersion": "v0.5.10"、 "_ defaultsLoaded":true、 "dist":{"shasum": "c338f1cd9893a623d1603c0a7fea7df439a120b8"、 "tarball": " http://registry.npmjs.org/xmldom/-/xmldom-0.1.7.tgz"}}、" 0.1.8 ":{" name ":" xmldom "、" version ":" 0.1.8 "、" description ":" W3C標準ベースのDOMParserおよびXMLSerializer(DOM Level2 CORE)。"、" keyswords ":[" javascript "、" XML "、" DOM "、" DOMParser "、" XMLSerializer "]、" maintainers ":[{" name ":" jindw "、" email ":" jindw @ xidea .org "}]、" contributors ":[{" name ":" Yaron Naveh "、" email ":" yaronn01@gmail.com "、" url ":" http://webservices20.blogspot.com/ "} 、{"name": "Harutyun Amirjanyan"、 "email": "amirjanyan@gmail.com"、 "url": " https://github.com/nightwing "}]、 "bugs":{""}]、"リポジトリ ":[{"タイプ ":" git "、" url ":" git://github.com/jindw/xmldom.git "}]、"implements ":[]、"依存関係 " :{}、 "devDependencies":{"wows": " "}、 "engines":{"node": "> = 0.1"}、 "directories":{"lib": "./"}、 "main ":" ./ dom-parser.js "、" _ npmUser ":{" name ":" jindw "、" email ":" jindw@xidea.org "}、" _ id ":" xmldom@0.1.8 "、 "_engineSupported":true、 "_ npmVersion": "1.0.103"、 "_ nodeVersion": "v0.5.10"、 "_ defaultsLoaded":true、 "dist":{"shasum": "fdffec08120fea390d6482a9f34e6d167cb8b207"、 "tarball": " http://registry.npmjs.org/xmldom/-/xmldom-0.1.8.tgz"}}、" 0.1.9 ":{" name ":" xmldom "、" version ":" 0.1.9 "、" description ":" W3C標準ベースのDOMParserおよびXMLSerializer(DOM Level2 CORE)。"、"キーワード ":[" javascript "、" XML "、" DOM "、" DOMParser "、" XMLSerializer "]、" maintainers ":[{" name ":" jindw "、" email ":" jindw @ xidea .org "}]、" contributors ":[{" name ":" Yaron Naveh "、" email ":" yaronn01@gmail.com "、" url ":" http://webservices20.blogspot.com/ "} 、{"name": "Harutyun Amirjanyan"、 "email": "amirjanyan@gmail.com"、 "url": " https://github.com/nightwing "}]、 "bugs":{""}]、"リポジトリ ":[{"タイプ ":" git "、" url ":" git://github.com/jindw/xmldom.git "}]、"implements ":[]、"依存関係 " :{}、 "devDependencies":{"vows": "*"}、 "engines":{"node": "> = 0.1"}、 "directories":{"lib": "./"}、 " main ":" ./ dom-parser.js "、" _ npmUser ":{" name ":" jindw "、" email ":" jindw@xidea.org "}、" _ id ":" xmldom@0.1.9 " 、"_ engineSupported":true、 "_ npmVersion": "1.0.103"、 "_ nodeVersion": "v0.5.10"、 "_ defaultsLoaded":true、 "dist":{"shasum": "d5831a5770541f69353b261c6adc88ccd1d12073"、 "tarball": " http://registry.npmjs.org/xmldom/-/xmldom-0.1.9.tgz "}}、" 0.1.10 ":{" name ":" xmldom "、" version ":" 0.1.10 "、" description ":" W3C標準XMLDOM(Level2 CORE)の実装とパーサー(DOMParser / XMLSerializer)。 "、"キーワード ":[" XML "、" DOM "、" parser "、" javascript "、" DOMParser "、" XMLSerializer "]、" author ":{" name ":" jindw "、" email ":" jindw@xidea.org "、" url ":"XML "、" DOM "、" parser "、" javascript "、" DOMParser "、" XMLSerializer "]、" author ":{" name ":" jindw "、" email ":" jindw@xidea.org "、" url ":"XML "、" DOM "、" parser "、" javascript "、" DOMParser "、" XMLSerializer "]、" author ":{" name ":" jindw "、" email ":" jindw@xidea.org "、" url ":"http://www.xidea.org "}、" homepage ":" https://github.com/jindw/xmldom "、" repository ":{" type ":" git "、" url ":" git: //github.com/jindw/xmldom.git "}、" main ":" ./ dom-parser.js "、" scripts ":{" test ":" ./ test "}、" engines ":{" node ": "> = 0.1"}、 "dependencies":{}、 "devDependencies":{}、 "maintainers":[{"name": "jindw"、 "email": "jindw@xidea.org"} ]、 "投稿者":[ { "name": "Yaron Naveh"、 "email": "yaronn01@gmail.com"、 "url": " http://webservices20.blogspot.com/"}、{"name ":" Harutyun Amirjanyan "、" email ":"amirjanyan@gmail.com"、 "url": " https://github.com/nightwing "}]、 "bugs":{"email": "jindw@xidea.org"、 "url": " http: //github.com/jindw/xmldom/issues "}、"licenses ":[{" type ":" LGPL "、" url ":" http://www.gnu.org/licenses/lgpl.html"}]、" _ npmUser ":{" name ":" jindw "、" email ":" jindw@xidea.org "}、" _ id ":" xmldom@0.1.10 "、" _ engineSupported ":true、" _ npmVersion ":" 1.0.103 "、" _ nodeVersion ":" v0.5.10 "、" _ defaultsLoaded ":true、" dist ":{" shasum ":" 021f55b75f815ccfbbc59e1a7a40484ba100e234 "、" tarball ":" http://registry.npmjs。 org / xmldom /-/xmldom-0.1.10.tgz "}、" directorys ":{}}、" 0.1.11 ":{" name ":" xmldom "、" version ":" 0.1.11 "、" description ":"W3C標準XMLDOM(Level2 CORE)実装およびパーサー(DOMParser / XMLSerializer)。 "、"キーワード ":[" XML "、" DOM "、" parser "、" javascript "、"DOMParser"、 "XMLSerializer"]、 "author":{"name": "jindw"、 "email": "jindw@xidea.org"、 "url": " http://www.xidea.org "} 、"ホームページ": " https://github.com/jindw/xmldom"、" repository ":{" type ":" git "、" url ":" git://github.com/jindw/xmldom.git "}、" main ":" ./ dom-parser.js "、 "scripts":{"test": "./ test"}、 "engines":{"node": "> = 0.1"}、 "dependencies":{}、 "devDependencies":{}、 "maintainers": [{"name": "jindw"、 "email": "jindw@xidea.org"}]、 "contributors":[{"name": "Yaron Naveh"、 "email": "yaronn01@gmail.com" 、"url": " http://webservices20.blogspot.com/"}、{"name ": "Harutyun Amirjanyan"、 "email": "amirjanyan@gmail.com"、 "url": " https:// github.com/nightwing "}、{"name ":" bigeasy "、" email ":" alan@prettyrobots.com "、" url ":" http://www.prettyrobots.com/ "}]、" bugs ":{" email ":" jindw @ xidea.org "、" url ":" http://github.com/jindw/xmldom/issues "}、"licenses ":[{" type ":" LGPL "、" url ":" http:// www .gnu.org /licenses / lgpl.html//www.gnu.org/licenses/lgpl.html//www.gnu.org/licenses/lgpl.html"}]、" _ npmUser ":{" name ":" jindw "、" email ":" jindw@xidea.org "}、" _ id ":" xmldom@0.1.11 "、" _ engineSupported ":true、" _ npmVersion ":" 1.0.103 "、" _ nodeVersion ":" v0.5.10 "、" _ defaultsLoaded ":true、" dist ":{" shasum ":" d8227c85bdf5197ed9b5c9d12319e3bcdd6d2eac "、" tarball ":" http://registry.npmjs。 org / xmldom /-/xmldom-0.1.11.tgz"}、" directorys ":{}}}、" readme ":null、" maintainers ":[{" name ":" jindw "、" email ":" jindw@xidea.org "}]、" time ": {"0.1.0": "2012-01-06T09:49:42.641Z"、 "0.1.1": "2012-01-10T07:18:18.313Z"、 "0.1.2": "2012-02- 03T10:49:02.984Z "、" 0.1.3 ":" 2012-05-22T16:39:09.565Z "、" 0.1.4 ":" 2012-05-22T16:41:40.120Z "、" 0.1.5 ":" 2012-05-25T17:43:18.008Z "、" 0.1.6 ":" 2012-05-28T12:49:32.759Z "、" 0.1.7 ":" 2012-05-29T03:05:55.479 Z "、" 0.1.8 ":" 2012-05-29T13:30:02.006Z "、" 0.1.9 ":" 2012-06-08T06:18:02.555Z "、" 0.1.10 ":" 2012- 06-14T02:54:35.731Z "、" 0.1.11 ":" 2012-06-18T10:45:58.508Z "}、"author":{"name": "jindw"、 "email": "jindw@xidea.org"、 "url": " http://www.xidea.org "}、 "repository":{"type" :"git"、 "url": "git://github.com/jindw/xmldom.git"}}

4

1 に答える 1

0

エラーメッセージに記載されているようにプロキシ設定を設定する必要があります。

npm config set proxy <proxy address>
于 2016-01-23T05:50:51.697 に答える