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 installation does not contain dist directory #1854

Closed
jshanley opened this issue Mar 24, 2014 · 3 comments
Closed

bower installation does not contain dist directory #1854

jshanley opened this issue Mar 24, 2014 · 3 comments

Comments

@jshanley
Copy link

The dist/ directory is listed in your .gitignore file.

When installing with bower install chosen, the repo is pulled down, and it does not contain the dist/ folder.

I am assuming this is where the plugin actually is. Without that folder, there's no real point in having a bower package. Am I missing something?

@jshanley
Copy link
Author

sorry, dupe of #1509

@stof
Copy link
Collaborator

stof commented Mar 24, 2014

Teh bower package is not official either. It was registered by someone else, and we requested its removal

@tjschuck
Copy link
Member

Chosen does not support command-line bower install chosen installation. This is because the repo does not contain the compiled sources, and bower does not currently support adding a post-install/build step.

However, you can specify that you'd like to use the release ZIP, which includes the compiled and minified sources.

Either install from the command line with

$ bower install https://github.com/harvesthq/chosen/releases/download/v1.1.0/chosen_v1.1.0.zip

or add Chosen to your own project's bower.json file, like:

{
  "name": "my-project",
  "version": "1.0.0",
  "dependencies": {
    "jquery": "1.11.0",
    "chosen": "https://github.com/harvesthq/chosen/releases/download/v1.1.0/chosen_v1.1.0.zip"
  }
}

See #1509, #1472, and #1333 for more info.

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

3 participants