Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
nagarajukarumanchi opened this issue Aug 19, 2016 · 2 comments
Closed

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

nagarajukarumanchi opened this issue Aug 19, 2016 · 2 comments
Assignees
Labels

Comments

@nagarajukarumanchi
Copy link

nagarajukarumanchi commented Aug 19, 2016

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
Copy link

jordonias commented Aug 26, 2016

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 dougwilson self-assigned this Oct 26, 2016
@dougwilson
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants