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 vs. npm #81

Open
morsik opened this issue Oct 8, 2018 · 0 comments
Open

bower vs. npm #81

morsik opened this issue Oct 8, 2018 · 0 comments

Comments

@morsik
Copy link

morsik commented Oct 8, 2018

If you install this package via bower, it fails when running Grunt cause of missing files:

>> bower_components/select2-bootstrap-theme/src/build.less: [L1:C0] '../node_modules/bootstrap/less/variables' wasn't found. Tried - bower_components/select2-bootstrap-theme/node_modules/bootstrap/less/variables.less,node_modules/bootstrap/less/variables.less,../node_modules/bootstrap/less/variables.less

This is because bootstrap is installed then as ../bower_components/bootstrap instead of ../node_modules/bootstrap. This is easy solvable by installing it via NPM too (so it'll download bootstrap into ../node_modules too as dependency). But using only bower fails.

Since I'm installing boostrap using bower, I find it very strange that I need to download it twice - via npm and via bower.

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

No branches or pull requests

1 participant