title: npm module installation constantly aborting
body: <p>I am faced with npm module installation issue.
  Each time I tried installing a new modules, the installation process crashes and consequently abort.
  My npm version is 1.4.28 and node version is 0.10.35 running on debian wheezy. I tried installing a couple (yo, bower, grunt, closurecompiler) and the same problem persit. See sample installation attempt below</p>
  
  <pre><code>npm install closurecompiler -g
  </code></pre>
  
  <p>The above spill the following to the terminal</p>
  
  <pre><code>==== Stack trace ============================================
  
  Security context: 0x25834659 &lt;JS Object&gt;#0#
      1: _parse(aka parse) [/usr/local/lib/node_modules/npm/node_modules/tar/lib/extended-header.js:~61] (this=0x38fada59 &lt;an ExtendedHeader&gt;#1#,c=0x38fb05c5 &lt;a Buffer&gt;#2#)
      2: emit [events.js:~53] (this=0x38fada59 &lt;an ExtendedHeader&gt;#1#,type=0x51614861 &lt;String[4]: data&gt;)
      3: arguments adaptor frame: 2-&gt;1
      4: _read [/usr/local/lib/node_modules/npm/node_modules/tar/lib/entry.js:111] (this=0x38fada59 &lt;an ExtendedHeader&gt;#1#)
      8: _read [native v8natives.js:1594] (this=0x38fada59 &lt;an ExtendedHeader&gt;#1#)
      9: write [/usr/local/lib/node_modules/npm/node_modules/tar/lib/entry.js:~50] (this=0x38fada59 &lt;an ExtendedHeader&gt;#1#,c=0x38fb05c5 &lt;a Buffer&gt;#2#)
     10: _process [/usr/local/lib/node_modules/npm/node_modules/tar/lib/parse.js:105] (this=0x38f3afc9 &lt;an Extract&gt;#3#,c=0x38fb05c5 &lt;a Buffer&gt;#2#)
     11: /* anonymous */ [/usr/local/lib/node_modules/npm/node_modules/tar/lib/parse.js:~46] (this=0x38f430c1 &lt;a BlockStream&gt;#4#,c=0x38fb05c5 &lt;a Buffer&gt;#2#)
     12: emit [events.js:~53] (this=0x38f430c1 &lt;a BlockStream&gt;#4#,type=0x51614861 &lt;String[4]: data&gt;)
     13: arguments adaptor frame: 2-&gt;1
     14: _emitChunk [/usr/local/lib/node_modules/npm/node_modules/block-stream/block-stream.js:145] (this=0x38f430c1 &lt;a BlockStream&gt;#4#,flush=0x25808091 &lt;undefined&gt;)
     15: arguments adaptor frame: 0-&gt;1
     16: resume [/usr/local/lib/node_modules/npm/node_modules/block-stream/block-stream.js:~55] (this=0x38f430c1 &lt;a BlockStream&gt;#4#)   17: arguments adaptor frame: 1-&gt;0
     18: resume [/usr/local/lib/node_modules/npm/node_modules/fstream/lib/reader.js:~251] (this=0x38f3afc9 &lt;an Extract&gt;#3#,who=0x25808091 &lt;undefined&gt;)
     19: arguments adaptor frame: 0-&gt;1
     20: /* anonymous */ [/usr/local/lib/node_modules/npm/node_modules/tar/lib/extract.js:57] (this=0x38f43109 &lt;a DirWriter&gt;#5#)
     21: emit [events.js:~53] (this=0x38f43109 &lt;a DirWriter&gt;#5#,type=0x3334f785 &lt;String[5]: ready&gt;)
     22: /* anonymous */ [/usr/local/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:39] (this=0x25834701 &lt;JS Global Object&gt;#6#,er=0x25808081 &lt;null&gt;)
     23: arguments adaptor frame: 2-&gt;1
     24: /* anonymous */ [/usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:29] (this=0x25834701 &lt;JS Global Object&gt;#6#,er=0x25808081 &lt;null&gt;)
     26: oncomplete [fs.js:108] (this=0x38f94099 &lt;an Object&gt;#7#)
     27: arguments adaptor frame: 1-&gt;0
  
  ==== Details ================================================
  
  [1]: _parse(aka parse) [/usr/local/lib/node_modules/npm/node_modules/tar/lib/extended-header.js:~61] (this=0x38fada59 &lt;an ExtendedHeader&gt;#1#,c=0x38fb05c5 &lt;a Buffer&gt;#2#) {
    // stack-allocated locals
    var i = 411
    var l = 512
    var b = 68
    var val = 0x38fb17ad &lt;String[5]: 2.4.x&gt;
    // expression stack (top to bottom)
    [05] : 0
    [04] : 2113118
  --------- s o u r c e   c o d e ---------
  function parse(c) {?  if (this._state === ERR) return??  for ( var i = 0, l = c.length?      ; i &lt; l?      ; this._position++, this._fieldPos++, i++) {?    // console.error("top of loop, size="+this._size)??    var b = c[i]??    if (this._size &gt;= 0 &amp;&amp; this._fieldPos &gt; this._size) {?      error(this, "field exceed...
  
  -----------------------------------------
  }
  
  [2]: emit [events.js:~53] (this=0x38fada59 &lt;an ExtendedHeader&gt;#1#,type=0x51614861 &lt;String[4]: data&gt;) {
  // optimized frame
  }
  [3]: arguments adaptor frame: 2-&gt;1 {
    // actual arguments
    [00] : 0x51614861 &lt;String[4]: data&gt;
    [01] : 0x38fb05c5 &lt;a Buffer&gt;#2#  // not passed to callee
  }
  
  [4]: _read [/usr/local/lib/node_modules/npm/node_modules/tar/lib/entry.js:111] (this=0x38fada59 &lt;an ExtendedHeader&gt;#1#) {
    // stack-allocated locals
    var chunk = 0x38fb05c5 &lt;a Buffer&gt;#2#
    var mql = 0x25808091 &lt;undefined&gt;
    // expression stack (top to bottom)
    [04] : 0x38fb05c5 &lt;a Buffer&gt;#2#
    [03] : 0x51614861 &lt;String[4]: data&gt;
    [02] : 0x38fada59 &lt;an ExtendedHeader&gt;#1#
  --------- s o u r c e   c o d e ---------
  function () {?  // console.error("    Tar Entry _read", this.path)??  if (this._paused || this._reading || this._ended) return??  // set this flag so that event handlers don't inadvertently?  // get multiple _read() calls running.?  this._reading = true??  // have any data to emit??  while (this._index &lt; thi...
  
  -----------------------------------------
  }
  
  [8]: _read [native v8natives.js:1594] (this=0x38fada59 &lt;an ExtendedHeader&gt;#1#) {
    // stack-allocated locals
    var arguments = 0x38fb0651 &lt;an Arguments&gt;#8#
    var c = 0x38fb0661 &lt;JS Array[2]&gt;#9#
    var d = 0
    var e = 0x25808091 &lt;undefined&gt;
    var f = 0x25808091 &lt;undefined&gt;
    var g = 0x25808091 &lt;undefined&gt;
    var h = 0x25808091 &lt;undefined&gt;
    // expression stack (top to bottom)
    [11] : 0
    [10] : 2
    [09] : 0x38fb0661 &lt;JS Array[2]&gt;#9#
    [08] : 0x38fada59 &lt;an ExtendedHeader&gt;#1#
    [07] : 0x41cb91f5 &lt;JS Function&gt;#10#
  --------- s o u r c e   c o d e ---------
  function (){??"use strict";???if(%_IsConstructCall()){?return %NewObjectFromBound(b);?}?var c=%BoundFunctionGetBindings(b);??var d=%_ArgumentsLength();?if(d==0){?return %Apply(c[0],c[1],c,2,c.length-2);?}?if(c.length===2){?return %Apply(c[0],c[1],arguments,0,d);?}?var e=c.length-2;?var f=new InternalArray(e+...
  
  -----------------------------------------
  }
  
  [9]: write [/usr/local/lib/node_modules/npm/node_modules/tar/lib/entry.js:~50] (this=0x38fada59 &lt;an ExtendedHeader&gt;#1#,c=0x38fb05c5 &lt;a Buffer&gt;#2#) {
  // optimized frame
  }
  [10]: _process [/usr/local/lib/node_modules/npm/node_modules/tar/lib/parse.js:105] (this=0x38f3afc9 &lt;an Extract&gt;#3#,c=0x38fb05c5 &lt;a Buffer&gt;#2#) {
    // stack-allocated locals
    var entry = 0x38fada59 &lt;an ExtendedHeader&gt;#1#
    var zero = 0x25808091 &lt;undefined&gt;
    var i = 0x25808091 &lt;undefined&gt;
    // expression stack (top to bottom)
    [04] : 0x38fb05c5 &lt;a Buffer&gt;#2#
    [03] : 0x38fada59 &lt;an ExtendedHeader&gt;#1#
  --------- s o u r c e   c o d e ---------
  function (c) {?  assert(c &amp;&amp; c.length === 512, "block size should be 512")??  // one of three cases.?  // 1. A new header?  // 2. A part of a file/extended header?  // 3. One of two or more EOF null blocks??  if (this._entry) {?    var entry = this._entry?    entry.write(c)?    if (entry._remaining === 0) {?...
  
  -----------------------------------------
  }
  
  [11]: /* anonymous */ [/usr/local/lib/node_modules/npm/node_modules/tar/lib/parse.js:~46] (this=0x38f430c1 &lt;a BlockStream&gt;#4#,c=0x38fb05c5 &lt;a Buffer&gt;#2#) {
  // optimized frame
  }
  [12]: emit [events.js:~53] (this=0x38f430c1 &lt;a BlockStream&gt;#4#,type=0x51614861 &lt;String[4]: data&gt;) {
  // optimized frame
  }
  [13]: arguments adaptor frame: 2-&gt;1 {
    // actual arguments
    [00] : 0x51614861 &lt;String[4]: data&gt;
    [01] : 0x38fb05c5 &lt;a Buffer&gt;#2#  // not passed to callee
  }
  
  [14]: _emitChunk [/usr/local/lib/node_modules/npm/node_modules/block-stream/block-stream.js:145] (this=0x38f430c1 &lt;a BlockStream&gt;#4#,flush=0x25808091 &lt;undefined&gt;) {
    // stack-allocated locals
    var padBytes = 0x25808091 &lt;undefined&gt;
    var bufferIndex = 0
    var out = 0x38fb05c5 &lt;a Buffer&gt;#2#
    var outOffset = 0
    var outHas = 0
    var cur = 0x38f556bd &lt;a Buffer&gt;#11#
    var curHas = 15360
    var l = 0x25808091 &lt;undefined&gt;
    var i = 0x25808091 &lt;undefined&gt;
    // expression stack (top to bottom)
    [11] : 0x38fb05c5 &lt;a Buffer&gt;#2#
    [10] : 0x51614861 &lt;String[4]: data&gt;
    [09] : 0x38f430c1 &lt;a BlockStream&gt;#4#
  --------- s o u r c e   c o d e ---------
  function (flush) {?  // debug("emitChunk flush=%j emitting=%j paused=%j", flush, this._emitting, this._paused)??  // emit a &lt;chunkSize&gt; chunk?  if (flush &amp;&amp; this._zeroes) {?    // debug("    BS push zeroes", this._bufferLength)?    // push a chunk of zeroes?    var padBytes = (this._bufferLength % this._chun...
  
  -----------------------------------------
  }
  
  [15]: arguments adaptor frame: 0-&gt;1 {
  }
  
  [16]: resume [/usr/local/lib/node_modules/npm/node_modules/block-stream/block-stream.js:~55] (this=0x38f430c1 &lt;a BlockStream&gt;#4#) {
  // optimized frame
  }
  [17]: arguments adaptor frame: 1-&gt;0 {
    // actual arguments
    [00] : 0x38f3afc9 &lt;an Extract&gt;#3#  // not passed to callee
  }
  
  [18]: resume [/usr/local/lib/node_modules/npm/node_modules/fstream/lib/reader.js:~251] (this=0x38f3afc9 &lt;an Extract&gt;#3#,who=0x25808091 &lt;undefined&gt;) {
  // optimized frame
  }
  [19]: arguments adaptor frame: 0-&gt;1 {
  }
  
  [20]: /* anonymous */ [/usr/local/lib/node_modules/npm/node_modules/tar/lib/extract.js:57] (this=0x38f43109 &lt;a DirWriter&gt;#5#) {
    // expression stack (top to bottom)
    [00] : 0x38f3afc9 &lt;an Extract&gt;#3#
  --------- s o u r c e   c o d e ---------
  function () {?    me.pipe(me._fst, { end: false })?    me.resume()?  }
  -----------------------------------------
  }
  
  [21]: emit [events.js:~53] (this=0x38f43109 &lt;a DirWriter&gt;#5#,type=0x3334f785 &lt;String[5]: ready&gt;) {
  // optimized frame
  }
  [22]: /* anonymous */ [/usr/local/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:39] (this=0x25834701 &lt;JS Global Object&gt;#6#,er=0x25808081 &lt;null&gt;) {
    // expression stack (top to bottom)
    [01] : 0x3334f785 &lt;String[5]: ready&gt;
    [00] : 0x38f43109 &lt;a DirWriter&gt;#5#
  --------- s o u r c e   c o d e ---------
  function (er) {?    if (er) return me.error(er)?    // ready to start getting entries!?    me.ready = true?    me.emit("ready")?    me._process()?  }
  -----------------------------------------
  }
  
  [23]: arguments adaptor frame: 2-&gt;1 {
    // actual arguments
    [00] : 0x25808081 &lt;null&gt;
    [01] : 0x38f93f31 &lt;String[86]: /usr/local/lib/node_modules/closurecompiler/node_modules/jsdoc/node_modules/underscore&gt;  // not passed to callee
  }
  
  [24]: /* anonymous */ [/usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:29] (this=0x25834701 &lt;JS Global Object&gt;#6#,er=0x25808081 &lt;null&gt;) {
    // heap-allocated locals
    var er = 0x25808081 &lt;null&gt;
    // expression stack (top to bottom)
    [03] : 0x38f93f31 &lt;String[86]: /usr/local/lib/node_modules/closurecompiler/node_modules/jsdoc/node_modules/underscore&gt;
    [02] : 0x25808081 &lt;null&gt;
    [01] : 0x25834701 &lt;JS Global Object&gt;#6#
    [00] : 0x38f93a91 &lt;JS Function&gt;#12#
  --------- s o u r c e   c o d e ---------
  function (er) {?        if (!er) {?            made = made || p;?            return cb(null, made);?        }?        switch (er.code) {?            case 'ENOENT':?                mkdirP(path.dirname(p), opts, function (er, made) {?                    if (er) cb(er, made);?                    else mkdirP(p, ...
  
  -----------------------------------------
  }
  
  [26]: oncomplete [fs.js:108] (this=0x38f94099 &lt;an Object&gt;#7#) {
    // stack-allocated locals
    var arguments = 0x38fabf71 &lt;an Arguments&gt;#13#
    // expression stack (top to bottom)
    [03] : 0x38fabf71 &lt;an Arguments&gt;#13#
    [02] : 0x25808081 &lt;null&gt;
    [01] : 0x38f93f45 &lt;JS Function&gt;#14#
  --------- s o u r c e   c o d e ---------
  function () {?    return cb.apply(null, arguments);?  }
  -----------------------------------------
  }
  
  [27]: arguments adaptor frame: 1-&gt;0 {
    // actual arguments
    [00] : 0x25808081 &lt;null&gt;  // not passed to callee
  }
  
  ==== Key         ============================================
  
  #0# 0x25834659: 0x25834659 &lt;JS Object&gt;
  #1# 0x38fada59: 0x38fada59 &lt;an ExtendedHeader&gt;
              domain: 0x25808081 &lt;null&gt;
             _events: 0x38fadb01 &lt;an Object&gt;#15#
       _maxListeners: 10
            readable: 0x258080b1 &lt;true&gt;
            writable: 0x258080b1 &lt;true&gt;
          _needDrain: 0x258080c1 &lt;false&gt;
             _paused: 0x258080c1 &lt;false&gt;
            _reading: 0x258080b1 &lt;true&gt;
             _ending: 0x258080c1 &lt;false&gt;
              _ended: 0x258080c1 &lt;false&gt;
          _remaining: 653
              _queue: 0x38fadb9d &lt;JS Array[1]&gt;#16#
              _index: 1
           _queueLen: 1
               _read: 0x38fadc09 &lt;JS Function&gt;#17#
               props: 0x38fadca9 &lt;an Object&gt;#18#
             _header: 0x38fac43d &lt;a TarHeader&gt;#19#
           _extended: 0x38fadcd5 &lt;an Object&gt;#20#
             _global: 0x38fadd05 &lt;an Object&gt;#21#
                type: 0x3334ee95 &lt;String[14]: ExtendedHeader&gt;
                path: 0x38fac5c9 &lt;String[30]: PaxHeader/package/package.json&gt;
                size: 1677
              fields: 0x38fae435 &lt;an Object&gt;#22#
           _position: 923
           _fieldPos: 6
              _state: 1
            _sizeBuf: 0x38fae4b5 &lt;JS Array[0]&gt;#23#
             _keyBuf: 0x38fae50d &lt;JS Array[3]&gt;#24#
             _valBuf: 0x38fae52d &lt;JS Array[0]&gt;#25#
               _size: 95
                _key: 0x38fb16f5 &lt;String[41]: NODETAR.package.devDependencies.uglify-js&gt;
                meta: 0x258080b1 &lt;true&gt;
  #2# 0x38fb05c5: 0x38fb05c5 &lt;a Buffer&gt;
              length: 512
              parent: 0x38f60e09 &lt;a SlowBuffer&gt;#26#
              offset: 1024
  #3# 0x38f3afc9: 0x38f3afc9 &lt;an Extract&gt;
              domain: 0x25808081 &lt;null&gt;
             _events: 0x38f430b5 &lt;an Object&gt;#27#
       _maxListeners: 10
            writable: 0x258080b1 &lt;true&gt;
            readable: 0x258080b1 &lt;true&gt;
             _stream: 0x38f430c1 &lt;a BlockStream&gt;#4#
            position: 1024
              _ended: 0x258080c1 &lt;false&gt;
                _fst: 0x38f43109 &lt;a DirWriter&gt;#5#
             _paused: 0x258080c1 &lt;false&gt;
         _eofStarted: 0x258080c1 &lt;false&gt;
              _entry: 0x38fada59 &lt;an ExtendedHeader&gt;#1#
  #4# 0x38f430c1: 0x38f430c1 &lt;a BlockStream&gt;
            readable: 0x258080b1 &lt;true&gt;
            writable: 0x258080b1 &lt;true&gt;
                _opt: 0x38f4d331 &lt;an Object&gt;#28#
          _chunkSize: 512
             _offset: 1536
             _buffer: 0x38f4d33d &lt;JS Array[1]&gt;#29#
       _bufferLength: 14848
             _zeroes: 0x38f4d34d &lt;a Buffer&gt;#30#
             _events: 0x38f4d365 &lt;an Object&gt;#31#
             _paused: 0x258080c1 &lt;false&gt;
          _needDrain: 0x258080b1 &lt;true&gt;
           _emitting: 0x258080b1 &lt;true&gt;
  #5# 0x38f43109: 0x38f43109 &lt;a DirWriter&gt;
              domain: 0x25808081 &lt;null&gt;
             _events: 0x38f4d3a9 &lt;an Object&gt;#32#
       _maxListeners: 10
                type: 0x3334e6ed &lt;String[9]: Directory&gt;
               props: 0x38f297e1 &lt;an Object&gt;#33#
               depth: 0
             clobber: 0x258080b1 &lt;true&gt;
              parent: 0x25808081 &lt;null&gt;
                root: 0x38f43109 &lt;a DirWriter&gt;#5#
                path: 0x38f4d3b5 &lt;String[86]: /usr/local/lib/node_modules/closurecompiler/node_modules/jsdoc/node_modules/underscore&gt;
               _path: 0x38f4d3b5 &lt;String[86]: /usr/local/lib/node_modules/closurecompiler/node_modules/jsdoc/node_modules/underscore&gt;
            basename: 0x38f51b0d &lt;String[10]: underscore&gt;
             dirname: 0x38f51b2d &lt;String[75]: /usr/local/lib/node_modules/closurecompiler/node_modules/jsdoc/node_modules&gt;
            linkpath: 0x25808081 &lt;null&gt;
                size: 0x25808091 &lt;undefined&gt;
            readable: 0x258080c1 &lt;false&gt;
            writable: 0x258080b1 &lt;true&gt;
             _buffer: 0x38f51b41 &lt;JS Array[0]&gt;#34#
               ready: 0x258080b1 &lt;true&gt;
              filter: 0x253df285 &lt;JS Function&gt;#35#
            _madeDir: 0x25808081 &lt;null&gt;
  #6# 0x25834701: 0x25834701 &lt;JS Global Object&gt;
  #7# 0x38f94099: 0x38f94099 &lt;an Object&gt;
              domain: 0x25808081 &lt;null&gt;
          oncomplete: 0x38f93f85 &lt;JS Function&gt;#36#
  #8# 0x38fb0651: 0x38fb0651 &lt;an Arguments&gt;
              length: 0
  #9# 0x38fb0661: 0x38fb0661 &lt;JS Array[2]&gt;
                   0: 0x41cb91f5 &lt;JS Function&gt;#10#
                   1: 0x38fada59 &lt;an ExtendedHeader&gt;#1#
  #10# 0x41cb91f5: 0x41cb91f5 &lt;JS Function&gt;
  #11# 0x38f556bd: 0x38f556bd &lt;a Buffer&gt;
              length: 16384
              parent: 0x38f60e09 &lt;a SlowBuffer&gt;#26#
              offset: 0
  #12# 0x38f93a91: 0x38f93a91 &lt;JS Function&gt;
  #13# 0x38fabf71: 0x38fabf71 &lt;an Arguments&gt;
              length: 1
              callee: 0x38f93f85 &lt;JS Function&gt;#36#
  #14# 0x38f93f45: 0x38f93f45 &lt;JS Function&gt;
  #15# 0x38fadb01: 0x38fadb01 &lt;an Object&gt;
                data: 0x2d575f75 &lt;JS Function parse&gt;#37#
                 end: 0x38fada35 &lt;JS Function&gt;#38#
               pause: 0x38fae5c1 &lt;JS Function&gt;#39#
  #16# 0x38fadb9d: 0x38fadb9d &lt;JS Array[1]&gt;
                   0: 0x38fb05c5 &lt;a Buffer&gt;#2#
  #17# 0x38fadc09: 0x38fadc09 &lt;JS Function&gt;
              length: 0
  #18# 0x38fadca9: 0x38fadca9 &lt;an Object&gt;
  #19# 0x38fac43d: 0x38fac43d &lt;a TarHeader&gt;
               block: 0x38fac3d9 &lt;a Buffer&gt;#40#
          cksumValid: 0x258080b1 &lt;true&gt;
                path: 0x38fac5c9 &lt;String[30]: PaxHeader/package/package.json&gt;
                mode: 420
                 uid: 0x38fad001 &lt;Number: 1916975748&gt;
                 gid: 0x38fad139 &lt;Number: 1700319516&gt;
                size: 1677
               mtime: 0x38fad265 &lt;Number: 1392064404&gt;
               cksum: 7170
                type: 0x51615be5 &lt;String[1]: x&gt;
            linkpath: 0x5160812d &lt;String[0]: &gt;
               ustar: 0x38fad48d &lt;String[6]\: ustar\x00&gt;
            ustarver: 0x38fad4d5 &lt;String[2]: 00&gt;
               uname: 0x5160812d &lt;String[0]: &gt;
               gname: 0x5160812d &lt;String[0]: &gt;
              devmaj: 0
              devmin: 0
                fill: 0x5160812d &lt;String[0]: &gt;
  #20# 0x38fadcd5: 0x38fadcd5 &lt;an Object&gt;
  #21# 0x38fadd05: 0x38fadd05 &lt;an Object&gt;
  #22# 0x38fae435: 0x38fae435 &lt;an Object&gt;
  #23# 0x38fae4b5: 0x38fae4b5 &lt;JS Array[0]&gt;
  #24# 0x38fae50d: 0x38fae50d &lt;JS Array[3]&gt;
                   0: 78
                   1: 79
                   2: 68
  #25# 0x38fae52d: 0x38fae52d &lt;JS Array[0]&gt;
  #26# 0x38f60e09: 0x38f60e09 &lt;a SlowBuffer&gt;
              length: 16384
  #27# 0x38f430b5: 0x38f430b5 &lt;an Object&gt;
               entry: 0x38f519f9 &lt;JS Array[3]&gt;#41#
              unpipe: 0x38f51a09 &lt;JS Function onunpipe&gt;#42#
               drain: 0x38f51a2d &lt;JS Function&gt;#43#
               error: 0x38f51a51 &lt;JS Array[3]&gt;#44#
               close: 0x38f51a61 &lt;JS Array[3]&gt;#45#
              finish: 0x38f51a71 &lt;JS Function g&gt;#46#
                data: 0x38fac10d &lt;JS Function ondata&gt;#47#
                 end: 0x38fac1c1 &lt;JS Function cleanup&gt;#48#
  #28# 0x38f4d331: 0x38f4d331 &lt;an Object&gt;
  #29# 0x38f4d33d: 0x38f4d33d &lt;JS Array[1]&gt;
                   0: 0x38f556bd &lt;a Buffer&gt;#11#
  #30# 0x38f4d34d: 0x38f4d34d &lt;a Buffer&gt;
              length: 512
              parent: 0x38f08845 &lt;a SlowBuffer&gt;#49#
              offset: 2560
  #31# 0x38f4d365: 0x38f4d365 &lt;an Object&gt;
               error: 0x38f556d5 &lt;JS Function&gt;#50#
                data: 0x38f556f9 &lt;JS Function&gt;#51#
                 end: 0x38f5571d &lt;JS Function&gt;#52#
               drain: 0x38f55741 &lt;JS Function&gt;#53#
  #32# 0x38f4d3a9: 0x38f4d3a9 &lt;an Object&gt;
               ready: 0x38f55779 &lt;JS Function&gt;#54#
               error: 0x38fac289 &lt;JS Array[2]&gt;#55#
               drain: 0x38fac211 &lt;JS Array[2]&gt;#56#
               close: 0x38fac381 &lt;JS Array[2]&gt;#57#
  #33# 0x38f297e1: 0x38f297e1 &lt;an Object&gt;
                type: 0x3334e6ed &lt;String[9]: Directory&gt;
                path: 0x38f2898d &lt;String[86]: /usr/local/lib/node_modules/closurecompiler/node_modules/jsdoc/node_modules/underscore&gt;
               strip: 1
                 uid: 5000
                 gid: 5000
              filter: 0x253df285 &lt;JS Function&gt;#35#
           Directory: 0x258080b1 &lt;true&gt;
                root: 0x25808081 &lt;null&gt;
              parent: 0x25808081 &lt;null&gt;
  #34# 0x38f51b41: 0x38f51b41 &lt;JS Array[0]&gt;
  #35# 0x253df285: 0x253df285 &lt;JS Function&gt;
  #36# 0x38f93f85: 0x38f93f85 &lt;JS Function&gt;
  #37# 0x2d575f75: 0x2d575f75 &lt;JS Function parse&gt;
  #38# 0x38fada35: 0x38fada35 &lt;JS Function&gt;
  #39# 0x38fae5c1: 0x38fae5c1 &lt;JS Function&gt;
  #40# 0x38fac3d9: 0x38fac3d9 &lt;a Buffer&gt;
              length: 512
              parent: 0x38f60e09 &lt;a SlowBuffer&gt;#26#
              offset: 0
  #41# 0x38f519f9: 0x38f519f9 &lt;JS Array[3]&gt;
                   0: 0x38f60cb9 &lt;JS Function&gt;#58#
                   1: 0x38f297bd &lt;JS Function extractEntry&gt;#59#
                   2: 0x38fac055 &lt;JS Function&gt;#60#
  #42# 0x38f51a09: 0x38f51a09 &lt;JS Function onunpipe&gt;
  #43# 0x38f51a2d: 0x38f51a2d &lt;JS Function&gt;
  #44# 0x38f51a51: 0x38f51a51 &lt;JS Array[3]&gt;
                   0: 0x38f60d25 &lt;JS Function onerror&gt;#61#
                   1: 0x38f60db5 &lt;JS Function&gt;#62#
                   2: 0x38fac19d &lt;JS Function onerror&gt;#63#
  #45# 0x38f51a61: 0x38f51a61 &lt;JS Array[3]&gt;
                   0: 0x38f60dd9 &lt;JS Function g&gt;#64#
                   1: 0x38f29749 &lt;JS Function cb&gt;#65#
                   2: 0x38fac1c1 &lt;JS Function cleanup&gt;#48#
  #46# 0x38f51a71: 0x38f51a71 &lt;JS Function g&gt;
            listener: 0x38f60d6d &lt;JS Function onfinish&gt;#66#
  #47# 0x38fac10d: 0x38fac10d &lt;JS Function ondata&gt;
  #48# 0x38fac1c1: 0x38fac1c1 &lt;JS Function cleanup&gt;
  #49# 0x38f08845: 0x38f08845 &lt;a SlowBuffer&gt;
              length: 8192
                used: 5248
  #50# 0x38f556d5: 0x38f556d5 &lt;JS Function&gt;
  #51# 0x38f556f9: 0x38f556f9 &lt;JS Function&gt;
  #52# 0x38f5571d: 0x38f5571d &lt;JS Function&gt;
  #53# 0x38f55741: 0x38f55741 &lt;JS Function&gt;
  #54# 0x38f55779: 0x38f55779 &lt;JS Function&gt;
  #55# 0x38fac289: 0x38fac289 &lt;JS Array[2]&gt;
                   0: 0x38f5579d &lt;JS Function&gt;#67#
                   1: 0x38fac19d &lt;JS Function onerror&gt;#63#
  #56# 0x38fac211: 0x38fac211 &lt;JS Array[2]&gt;
                   0: 0x38f557c1 &lt;JS Function&gt;#68#
                   1: 0x38fac131 &lt;JS Function ondrain&gt;#69#
  #57# 0x38fac381: 0x38fac381 &lt;JS Array[2]&gt;
                   0: 0x38f557e5 &lt;JS Function&gt;#70#
                   1: 0x38fac1c1 &lt;JS Function cleanup&gt;#48#
  #58# 0x38f60cb9: 0x38f60cb9 &lt;JS Function&gt;
  #59# 0x38f297bd: 0x38f297bd &lt;JS Function extractEntry&gt;
  #60# 0x38fac055: 0x38fac055 &lt;JS Function&gt;
  #61# 0x38f60d25: 0x38f60d25 &lt;JS Function onerror&gt;
  #62# 0x38f60db5: 0x38f60db5 &lt;JS Function&gt;
  #63# 0x38fac19d: 0x38fac19d &lt;JS Function onerror&gt;
  #64# 0x38f60dd9: 0x38f60dd9 &lt;JS Function g&gt;
            listener: 0x38f60d49 &lt;JS Function onclose&gt;#71#
  #65# 0x38f29749: 0x38f29749 &lt;JS Function cb&gt;
  #66# 0x38f60d6d: 0x38f60d6d &lt;JS Function onfinish&gt;
  #67# 0x38f5579d: 0x38f5579d &lt;JS Function&gt;
  #68# 0x38f557c1: 0x38f557c1 &lt;JS Function&gt;
  #69# 0x38fac131: 0x38fac131 &lt;JS Function ondrain&gt;
  #70# 0x38f557e5: 0x38f557e5 &lt;JS Function&gt;
  #71# 0x38f60d49: 0x38f60d49 &lt;JS Function onclose&gt;
  =====================
  
  Aborted
  [  7.14 ######### ] ~ $
  </code></pre>
  
  <p>Even after clearing the cache (npm cache clean and changing ownership of all folders used by npm, the issue still persist.</p>
  
  <p>My initial guess was probably node was failing to parse the received json data correctly, but all effort I have made seem not to do the trick.</p>