isaacs/npm — Issue #2019: getaddrinfo ENOTN error
Author: h2non
Created: 2012-01-10 22:16:06+00:00
State: open

**This is the output error while I try yo unpublish a package:**

```bash
npm http GET https://registry.npmjs.org/jshashes
npm http 304 https://registry.npmjs.org/jshashes
npm http PUT https://registry.npmjs.org/jshashes/-rev/37-577f44c1e319d3930d1d47a81cf3e7fe
npm ERR! Failed to update the data
npm ERR! Error: getaddrinfo ENOENT
npm ERR! at errnoException (dns.js:31:11)
npm ERR! at Object.onanswer [as oncomplete] (dns.js:140:16)
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 2.6.32-5-amd64
npm ERR! command "/opt/opew/stack/node/bin/node.bin" "/opt/opew/stack/node/bin/npm.bin" "unpublish" "jshashes@0.1.2b"
npm ERR! cwd /opt/jsHashes
npm ERR! node -v v0.6.7
npm ERR! npm -v 1.1.0-beta-10
npm ERR! syscall getaddrinfo
npm ERR! code ENOTFOUND
npm ERR! message getaddrinfo ENOENT
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /opt/jsHashes/npm-debug.log
npm not ok
```

**Similar error returned while try to publish a package:**

```bash
npm http PUT https://registry.npmjs.org/jshashes
npm http 409 https://registry.npmjs.org/jshashes
npm http GET https://registry.npmjs.org/jshashes
npm ERR! Error: getaddrinfo ENOENT
npm ERR! at errnoException (dns.js:31:11)
npm ERR! at Object.onanswer [as oncomplete] (dns.js:140:16)
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 2.6.32-5-amd64
npm ERR! command "/opt/opew/stack/node/bin/node.bin" "/opt/opew/stack/node/bin/npm.bin" "publish"
npm ERR! cwd /opt/jsHashes
npm ERR! node -v v0.6.7
npm ERR! npm -v 1.1.0-beta-10
npm ERR! syscall getaddrinfo
npm ERR! code ENOTFOUND
npm ERR! message getaddrinfo ENOENT
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /opt/jsHashes/npm-debug.log
npm not ok
```