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 package not found #1245

Closed
xtinacosta opened this issue Mar 3, 2015 · 9 comments
Closed

Bower package not found #1245

xtinacosta opened this issue Mar 3, 2015 · 9 comments

Comments

@xtinacosta
Copy link

When I run
bower install Polymer/paper-button
I get
bower ENOTFOUND Package not found
are you sure your elements are still registered?

@Nevraeka
Copy link

Nevraeka commented Mar 3, 2015

It's still supported according to the docs - paper-button

bower search paper-button yields 2 results for me but none of them are the correct repository.
@azakus - was this moved or renamed in bower?

@davidmaxwaterman
Copy link

Odd - it's working for me :

cli-extra)davidmaxwaterman@localhost:~/tmp$ rm -rf bower_components/
(cli-extra)davidmaxwaterman@localhost:~/tmp$ bower cache clean
bower deleted       Cached package core-component-page: /home/davidmaxwaterman/.cache/bower/packages/ad4597c35459f16f18caf699c3070351/0.5.5
bower deleted       Cached package polymer: /home/davidmaxwaterman/.cache/bower/packages/4b3248bac6c187112723518244e6fe5a/0.5.5
bower deleted       Cached package webcomponentsjs: /home/davidmaxwaterman/.cache/bower/packages/6000e00dae2c4a1b827f158835c30d5f/0.5.5
(cli-extra)davidmaxwaterman@localhost:~/tmp$ bower install Polymer/paper-button
bower not-cached    git://github.com/Polymer/paper-button.git#*
bower resolve       git://github.com/Polymer/paper-button.git#*
bower download      https://github.com/Polymer/paper-button/archive/0.5.5.tar.gz
bower extract       paper-button#* archive.tar.gz
bower invalid-meta  paper-button is missing "main" entry in bower.json
bower invalid-meta  paper-button is missing "ignore" entry in bower.json
bower resolved      git://github.com/Polymer/paper-button.git#0.5.5
bower not-cached    git://github.com/Polymer/polymer.git#^0.5
bower resolve       git://github.com/Polymer/polymer.git#^0.5
bower not-cached    git://github.com/Polymer/core-a11y-keys.git#^0.5
bower resolve       git://github.com/Polymer/core-a11y-keys.git#^0.5
bower not-cached    git://github.com/Polymer/core-focusable.git#^0.5
bower resolve       git://github.com/Polymer/core-focusable.git#^0.5
bower not-cached    git://github.com/Polymer/core-icon.git#^0.5
bower resolve       git://github.com/Polymer/core-icon.git#^0.5
bower not-cached    git://github.com/Polymer/paper-ripple.git#^0.5
bower resolve       git://github.com/Polymer/paper-ripple.git#^0.5
bower not-cached    git://github.com/Polymer/paper-shadow.git#^0.5
bower resolve       git://github.com/Polymer/paper-shadow.git#^0.5
bower download      https://github.com/Polymer/core-a11y-keys/archive/0.5.5.tar.gz
bower download      https://github.com/Polymer/paper-ripple/archive/0.5.5.tar.gz
bower download      https://github.com/Polymer/core-icon/archive/0.5.5.tar.gz
bower download      https://github.com/Polymer/core-focusable/archive/0.5.5.tar.gz
bower download      https://github.com/Polymer/polymer/archive/0.5.5.tar.gz
bower download      https://github.com/Polymer/paper-shadow/archive/0.5.5.tar.gz
bower extract       core-icon#^0.5 archive.tar.gz
bower invalid-meta  core-icon is missing "main" entry in bower.json
bower invalid-meta  core-icon is missing "ignore" entry in bower.json
bower resolved      git://github.com/Polymer/core-icon.git#0.5.5
bower not-cached    git://github.com/Polymer/core-iconset.git#^0.5
bower resolve       git://github.com/Polymer/core-iconset.git#^0.5
bower not-cached    git://github.com/Polymer/core-icons.git#^0.5
bower resolve       git://github.com/Polymer/core-icons.git#^0.5
bower extract       paper-shadow#^0.5 archive.tar.gz
bower download      https://github.com/Polymer/core-icons/archive/0.5.5.tar.gz
bower download      https://github.com/Polymer/core-iconset/archive/0.5.5.tar.gz
bower extract       paper-ripple#^0.5 archive.tar.gz
bower invalid-meta  paper-shadow is missing "main" entry in bower.json
bower invalid-meta  paper-shadow is missing "ignore" entry in bower.json
bower invalid-meta  paper-ripple is missing "main" entry in bower.json
bower invalid-meta  paper-ripple is missing "ignore" entry in bower.json
bower resolved      git://github.com/Polymer/paper-ripple.git#0.5.5
bower not-cached    git://github.com/Polymer/font-roboto.git#^0.5
bower resolve       git://github.com/Polymer/font-roboto.git#^0.5
bower resolved      git://github.com/Polymer/paper-shadow.git#0.5.5
bower extract       core-focusable#^0.5 archive.tar.gz
bower invalid-meta  core-focusable is missing "main" entry in bower.json
bower invalid-meta  core-focusable is missing "ignore" entry in bower.json
bower extract       core-a11y-keys#^0.5 archive.tar.gz
bower resolved      git://github.com/Polymer/core-focusable.git#0.5.5
bower invalid-meta  core-a11y-keys is missing "main" entry in bower.json
bower resolved      git://github.com/Polymer/core-a11y-keys.git#0.5.5
bower extract       polymer#^0.5 archive.tar.gz
bower invalid-meta  polymer is missing "main" entry in bower.json
bower invalid-meta  polymer is missing "ignore" entry in bower.json
bower resolved      git://github.com/Polymer/polymer.git#0.5.5
bower not-cached    git://github.com/Polymer/core-component-page.git#^0.5
bower resolve       git://github.com/Polymer/core-component-page.git#^0.5
bower not-cached    git://github.com/Polymer/webcomponentsjs.git#^0.5
bower resolve       git://github.com/Polymer/webcomponentsjs.git#^0.5
bower download      https://github.com/Polymer/core-component-page/archive/0.5.5.tar.gz
bower download      https://github.com/Polymer/webcomponentsjs/archive/0.5.5.tar.gz
bower download      https://github.com/Polymer/font-roboto/archive/0.5.5.tar.gz
bower extract       core-icons#^0.5 archive.tar.gz
bower invalid-meta  core-icons is missing "main" entry in bower.json
bower resolved      git://github.com/Polymer/core-icons.git#0.5.5
bower not-cached    git://github.com/Polymer/core-iconset-svg.git#^0.5
bower resolve       git://github.com/Polymer/core-iconset-svg.git#^0.5
bower extract       core-iconset#^0.5 archive.tar.gz
bower invalid-meta  core-iconset is missing "main" entry in bower.json
bower invalid-meta  core-iconset is missing "ignore" entry in bower.json
bower download      https://github.com/Polymer/core-iconset-svg/archive/0.5.5.tar.gz
bower resolved      git://github.com/Polymer/core-iconset.git#0.5.5
bower not-cached    git://github.com/Polymer/core-meta.git#^0.5
bower resolve       git://github.com/Polymer/core-meta.git#^0.5
bower download      https://github.com/Polymer/core-meta/archive/0.5.5.tar.gz
bower extract       font-roboto#^0.5 archive.tar.gz
bower invalid-meta  font-roboto is missing "main" entry in bower.json
bower invalid-meta  font-roboto is missing "ignore" entry in bower.json
bower resolved      git://github.com/Polymer/font-roboto.git#0.5.5
bower extract       core-component-page#^0.5 archive.tar.gz
bower invalid-meta  core-component-page is missing "main" entry in bower.json
bower invalid-meta  core-component-page is missing "ignore" entry in bower.json
bower resolved      git://github.com/Polymer/core-component-page.git#0.5.5
bower extract       core-meta#^0.5 archive.tar.gz
bower extract       core-iconset-svg#^0.5 archive.tar.gz
bower invalid-meta  core-meta is missing "main" entry in bower.json
bower invalid-meta  core-meta is missing "ignore" entry in bower.json
bower invalid-meta  core-iconset-svg is missing "main" entry in bower.json
bower invalid-meta  core-iconset-svg is missing "ignore" entry in bower.json
bower resolved      git://github.com/Polymer/core-meta.git#0.5.5
bower resolved      git://github.com/Polymer/core-iconset-svg.git#0.5.5
bower extract       webcomponentsjs#^0.5 archive.tar.gz
bower resolved      git://github.com/Polymer/webcomponentsjs.git#0.5.5
bower install       paper-button#0.5.5
bower install       core-icon#0.5.5
bower install       paper-ripple#0.5.5
bower install       paper-shadow#0.5.5
bower install       core-focusable#0.5.5
bower install       core-a11y-keys#0.5.5
bower install       polymer#0.5.5
bower install       core-icons#0.5.5
bower install       core-iconset#0.5.5
bower install       font-roboto#0.5.5
bower install       core-component-page#0.5.5
bower install       core-meta#0.5.5
bower install       core-iconset-svg#0.5.5
bower install       webcomponentsjs#0.5.5

paper-button#0.5.5 bower_components/paper-button
├── core-a11y-keys#0.5.5
├── core-focusable#0.5.5
├── core-icon#0.5.5
├── paper-ripple#0.5.5
├── paper-shadow#0.5.5
└── polymer#0.5.5

core-icon#0.5.5 bower_components/core-icon
├── core-icons#0.5.5
└── core-iconset#0.5.5

paper-ripple#0.5.5 bower_components/paper-ripple
├── core-icon#0.5.5
├── core-icons#0.5.5
└── font-roboto#0.5.5

paper-shadow#0.5.5 bower_components/paper-shadow
└── polymer#0.5.5

core-focusable#0.5.5 bower_components/core-focusable
└── polymer#0.5.5

core-a11y-keys#0.5.5 bower_components/core-a11y-keys
└── polymer#0.5.5

polymer#0.5.5 bower_components/polymer
├── core-component-page#0.5.5
└── webcomponentsjs#0.5.5

core-icons#0.5.5 bower_components/core-icons
├── core-icon#0.5.5
├── core-iconset-svg#0.5.5
└── polymer#0.5.5

core-iconset#0.5.5 bower_components/core-iconset
├── core-icon#0.5.5
├── core-meta#0.5.5
└── polymer#0.5.5

font-roboto#0.5.5 bower_components/font-roboto

core-component-page#0.5.5 bower_components/core-component-page
├── polymer#0.5.5
└── webcomponentsjs#0.5.5

core-meta#0.5.5 bower_components/core-meta
└── polymer#0.5.5

core-iconset-svg#0.5.5 bower_components/core-iconset-svg
├── core-iconset#0.5.5
└── polymer#0.5.5

webcomponentsjs#0.5.5 bower_components/webcomponentsjs
(cli-extra)davidmaxwaterman@localhost:~/tmp$ 

@xtinacosta xtinacosta changed the title Bower package not fount Bower package not found Mar 3, 2015
@nevir
Copy link
Contributor

nevir commented Mar 13, 2015

None of our components are registered via the bower registry - the Polymer/paper-button identifier is a bower shorthand for git://github.com/Polymer/paper-button.git

Are you behind a proxy or something that might block github or ssh? Also, can you post the entire output from bower?

@Nevraeka
Copy link

That explains my search issue. What are the reasons I might not register a Polymer element I create? Thank you

@nevir
Copy link
Contributor

nevir commented Mar 13, 2015

You should feel free to register your own elements; definitely aids in discoverability!

One of our troubles is that we've given our elements pretty generic names (particularly core-*). We don't want to muddy up the bower registry with those, and it's rather confusing if the git repo names (and, by convention, bower package names) don't line up

@Nevraeka
Copy link

There you go...thinking of the greater good again ...😜 that's a good point on 'muddying' the waters though

@nevir
Copy link
Contributor

nevir commented Mar 13, 2015

Yeah :) I think that's mostly a problem that's exclusive to the core-* and paper-* elements, so I wouldn't worry too much!

@xtinacosta
Copy link
Author

Turned out it was an error in my .bowerrc file :s
I used to have searchpath:'' and shorthand_resolver:'' ......
I removed the searchpath & shorthand_resolver and it worked perfectly
Sorry for bothering you and thanks a lot for your help :)

@Nevraeka
Copy link

Another issue crushed. Thanks @xtinacosta for closing this. As time goes on I am liking Bower less and less.

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

4 participants