isaacs/npm — pull request #4111 by jmgunn87 (2013-11-10 11:09:49+00:00)
Title: removed unused/useless requires in lib/dedupe.js

This PR removes the two duplicate lines `require('npm') ` on line 18 and 20 of dedupe.js. This is currently causing issues when installing the jshint package as a sub-dependency calls `npm dedupe` which raises the following error
````shell
npm ERR! Error: Cannot find module 'npm'
npm ERR! at Function.Module._resolveFilename (module.js:338:15)
npm ERR! at Function.Module._load (module.js:280:25)
npm ERR! at Module.require (module.js:362:17)
Press ENTER or type command to continue
npm ERR! at require (module.js:378:17)
npm ERR! at Object. (/usr/lib/nodejs/npm/lib/dedupe.js:18:11)
npm ERR! at Module._compile (module.js:449:26)
npm ERR! at Object.Module._extensions..js (module.js:467:10)
npm ERR! at Module.load (module.js:356:32)
npm ERR! at Function.Module._load (module.js:312:12)
npm ERR! at Module.require (module.js:362:17)
npm ERR! If you need help, you may report this log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
````