Public bug reported:

When trying to install nodeunit with npm the following error message is
shown

npm ERR! Error: ECONNREFUSED, Could not contact DNS servers
npm ERR!     at dns.js:194:15
npm ERR!     at Object.lookup (dns.js:190:11)
npm ERR!     at Client.connect (net.js:718:20)
npm ERR!     at Client._ensureConnection (http.js:1648:10)
npm ERR!     at Client._cycle (http.js:1638:14)
npm ERR!     at Client.request (http.js:1672:8)
npm ERR!     at request (/usr/share/npm/lib/utils/registry/request.js:108:20)
npm ERR!     at GET (/usr/share/npm/lib/utils/registry/request.js:217:3)
npm ERR!     at get_ (/usr/share/npm/lib/utils/registry/get.js:42:3)
npm ERR!     at /usr/share/npm/lib/utils/registry/get.js:29:10
npm ERR! Report this *entire* log at <http://github.com/isaacs/npm/issues>
npm ERR! or email it to <n...@googlegroups.com>
npm ERR! Just tweeting a tiny part of the error will not be helpful.
npm not ok

This does not only happen with nodeunit, but generally with any package
to be installed.

npm:
  Installed: 0.2.19-1
  Candidate: 0.2.19-1
  Version table:
 *** 0.2.19-1 0
        500 http://ubuntu.mirror.iweb.ca/ oneiric/universe amd64 Packages
        100 /var/lib/dpkg/status

nodejs:
  Installed: 0.4.9-1ubuntu3
  Candidate: 0.4.9-1ubuntu3
  Version table:
 *** 0.4.9-1ubuntu3 0
        500 http://ubuntu.mirror.iweb.ca/ oneiric/universe amd64 Packages
        100 /var/lib/dpkg/status

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 11.10
Release:        11.10
Codename:       oneiric

** Affects: npm (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  When trying to install nodeunit with npm the following error message is
  shown
  
  npm ERR! Error: ECONNREFUSED, Could not contact DNS servers
  npm ERR!     at dns.js:194:15
  npm ERR!     at Object.lookup (dns.js:190:11)
  npm ERR!     at Client.connect (net.js:718:20)
  npm ERR!     at Client._ensureConnection (http.js:1648:10)
  npm ERR!     at Client._cycle (http.js:1638:14)
  npm ERR!     at Client.request (http.js:1672:8)
  npm ERR!     at request (/usr/share/npm/lib/utils/registry/request.js:108:20)
  npm ERR!     at GET (/usr/share/npm/lib/utils/registry/request.js:217:3)
  npm ERR!     at get_ (/usr/share/npm/lib/utils/registry/get.js:42:3)
  npm ERR!     at /usr/share/npm/lib/utils/registry/get.js:29:10
  npm ERR! Report this *entire* log at <http://github.com/isaacs/npm/issues>
  npm ERR! or email it to <n...@googlegroups.com>
  npm ERR! Just tweeting a tiny part of the error will not be helpful.
  npm not ok
  
  This does not only happen with nodeunit, but generally with any package
  to be installed.
  
  npm:
-   Installed: 0.2.19-1
-   Candidate: 0.2.19-1
-   Version table:
-  *** 0.2.19-1 0
-         500 http://ubuntu.mirror.iweb.ca/ oneiric/universe amd64 Packages
-         100 /var/lib/dpkg/status
+   Installed: 0.2.19-1
+   Candidate: 0.2.19-1
+   Version table:
+  *** 0.2.19-1 0
+         500 http://ubuntu.mirror.iweb.ca/ oneiric/universe amd64 Packages
+         100 /var/lib/dpkg/status
  
  nodejs:
-   Installed: 0.4.9-1ubuntu3
-   Candidate: 0.4.9-1ubuntu3
-   Version table:
-  *** 0.4.9-1ubuntu3 0
-         500 http://ubuntu.mirror.iweb.ca/ oneiric/universe amd64 Packages
-         100 /var/lib/dpkg/status
+   Installed: 0.4.9-1ubuntu3
+   Candidate: 0.4.9-1ubuntu3
+   Version table:
+  *** 0.4.9-1ubuntu3 0
+         500 http://ubuntu.mirror.iweb.ca/ oneiric/universe amd64 Packages
+         100 /var/lib/dpkg/status
+ 
+ No LSB modules are available.
+ Distributor ID: Ubuntu
+ Description:    Ubuntu 11.10
+ Release:        11.10
+ Codename:       oneiric

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/891143

Title:
  npm does not install packages but fails with error message

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/npm/+bug/891143/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to