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

bower install <package> tries to install all packages in bower.json #924

Closed
necolas opened this issue Oct 16, 2013 · 3 comments
Closed

bower install <package> tries to install all packages in bower.json #924

necolas opened this issue Oct 16, 2013 · 3 comments
Labels

Comments

@necolas
Copy link
Contributor

necolas commented Oct 16, 2013

Bower 1.2.7

If I do:

bower install <package-name>

in a directory that contains a bower.json with dependencies specified, Bower will install all those dependencies too, rather than just the package I told it to install.

@satazor
Copy link
Member

satazor commented Oct 19, 2013

This is intended because if bower ignored the dependencies specified in the bower.json file, it would probably install a version incompatible with the bower.json dependencies and any of the nested dependencies.

@satazor satazor closed this as completed Oct 19, 2013
@necolas
Copy link
Contributor Author

necolas commented Oct 19, 2013

But that only matters once you either install all the dependencies or look do bower install --save <package>.

@satazor
Copy link
Member

satazor commented Oct 19, 2013

@necolas the behavior you are describing as correct was source of all kind of problems that people complained in the old version of bower.

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

No branches or pull requests

2 participants