jshttp / basic-auth

Generic basic auth Authorization header field parser
MIT License
702 stars 86 forks source link

Not able to install Basic-auth on windows 10. #24

Closed nagarajukarumanchi closed 8 years ago

nagarajukarumanchi commented 8 years ago

Not able to install Basic-auth on windows 10.

E:\basic-auth-master>npm install basic-auth
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Lalli\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "basic-auth"
npm ERR! node v4.4.5
npm ERR! npm  v3.9.3
npm ERR! code ENOSELF

npm ERR! Refusing to install basic-auth as a dependency of itself
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     E:\basic-auth-master\npm-debug.log

E:\basic-auth-master>
jordonias commented 8 years ago

This happens if your current project's package.json has name: 'basic-auth' (Project name is the same as the module you're trying to install)

Make sure this isn't the case

dougwilson commented 8 years ago

Hi @nagarajukarumanchi I'm going to close this issue as I believe @jordonias was able to answer the question and there has not been any response.