title: Nodejs npm install karma
body: <p>When I installed karma in nodejs modules, in my log written this:</p>
  
  <pre><code>npm http 304 https registry.npmjs.org/proto-list
  
  &gt; phantomjs@1.9.1-5 install C:\Users\&lt;user&gt;\AppData\Roaming\npm\node_modules\karma-phantomjs-launcher\node_modules\phantomjs
  &gt; node install.js
  
  Downloading http://phantomjs.googlecode.com/files/phantomjs-1.9.1-windows.zip
  Saving to \tmp\phantomjs\phantomjs-1.9.1-windows.zip
  Receiving...
  
  C:\Users\&lt;user&gt;\AppData\Roaming\npm\node_modules\karma-phantomjs-launcher\node_modules\phantomjs\install.js:215
    deferred.reject('Error with http request: ' + util.inspect(response.head
                                                  ^
  ReferenceError: util is not defined
  at ClientRequest.&lt;anonymous&gt; (C:\Users\&lt;user&gt;\AppData\Roaming\npm\node_modules\karma-phantomjs-launcher\node_modules\phantomjs\install.js:215:53)
  at ClientRequest.g (events.js:175:14)
  at ClientRequest.EventEmitter.emit (events.js:95:17)
  at HTTPParser.parserOnIncomingClient [as onIncoming] (http.js:1669:21)
  at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:120:23)
  at Socket.socketOnData [as ondata] (http.js:1564:20)
  at TCP.onread (net.js:525:27)
  npm ERR! weird error 8
  npm ERR! not ok code 0
  
  d:\nodejs&gt;npm install util
  
  npm http 304 https registry.npmjs.org/events.node
  util@0.4.9 node_modules\util
  └── events.node@0.4.9
  </code></pre>
  
  <p>module util already installed.
  Why karma not installing?</p>