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

Importing Polymer fails, cannot find WebComponents #797

Closed
alancutter opened this issue Oct 15, 2014 · 9 comments
Closed

Importing Polymer fails, cannot find WebComponents #797

alancutter opened this issue Oct 15, 2014 · 9 comments

Comments

@alancutter
Copy link

Looks like a recent update to the polymer.html has an error on loading.

Expected: http://jsfiddle.net/nr0vbhy4/2/
Actual: http://jsfiddle.net/nr0vbhy4/1/

@davidmaxwaterman
Copy link

same here

@alancutter any work-around?

@sorvell
Copy link
Contributor

sorvell commented Oct 15, 2014

Sorry about that. Should be fixed now. @alancutter, can you verify?

@davidmaxwaterman
Copy link

Personally, I now see this error :

Uncaught TypeError: undefined is not a function     polymer.concat.js:11712

followed by several of these :

Uncaught Element name could not be inferred        polymer.concat.js:10373

@alancutter
Copy link
Author

Thanks for looking into this. Unfortunately still not fixed, I see the same error as davidmaxwaterman reports. The first error it hits is this line https://github.com/Polymer/polymer-dev/blob/ff7ece73bd9be46ddbc1b89c8ea45f561cfc211a/src/instance/properties.js#L143.

I'm using Chrome 39 beta and at time of writing polymer's master branch is at fdf632f

@alancutter
Copy link
Author

My workaround was to use an older commit (see the expected jsfiddle).

@davidmaxwaterman
Copy link

Thanks for sharing your workaround. I found my own which I will also share.

I use bower to install polymer, but I wrap the command to filter the noisy output. Unfortunately, bower is now interactive and the filter causes it to simply abort with this error (recorded in case anyone else sees this) :

bower                                 ECONFLICT Unable to find suitable version for polymer

When I do 'bower install' it prompts me (several times, in my case) and I just need to select one of the non-master options :

Unable to find a suitable version for polymer, please choose one:
    1) polymer#master which resolved to fdf632f725 and is required by core-component-page#0847a26215, paper-spinner#8a71444af2 
    2) polymer#^0.4.0 which resolved to 0.4.2 and is required by core-ajax#0.4.2, core-animated-pages#0.4.2, core-component-page#0.4.2, core-header-panel#0.4.2, core-icons#0.4.2, core-iconset#0.4.2, core-iconset-svg#0.4.2, core-media-query#0.4.2, core-meta#0.4.2, core-selection#0.4.2, core-selector#0.4.2, core-splitter#0.4.2, core-style#0.4.2, core-transition#0.4.2, paper-button#0.4.2, paper-fab#0.4.2, paper-focusable#0.4.2, paper-icon-button#0.4.2, paper-item#0.4.2, paper-shadow#0.4.2 
    3) polymer#~0.4.0 which resolved to 0.4.2 and is required by Content PushPrefix the choice with ! to persist it to bower.json

? Answer:: 2

Unable to find a suitable version for core-component-page, please choose one:
    1) core-component-page#master which resolved to 0847a26215 and is required by polymer#fdf632f725 
    2) core-component-page#^0.4.0 which resolved to 0.4.2 and is required by polymer#0.4.2Prefix the choice with ! to persist it to bower.json

? Answer:: 2

Unable to find a suitable version for platform, please choose one:
    1) platform#master which resolved to 3a3c3537f6 and is required by core-component-page#0847a26215 
    2) platform#^0.4.0 which resolved to 0.4.2 and is required by core-component-page#0.4.2, polymer#0.4.2Prefix the choice with ! to persist it to bower.json

? Answer:: 2

Then things start working.

@sorvell
Copy link
Contributor

sorvell commented Oct 16, 2014

Fix attempt 2. @alancutter, can you verify?

@davidmaxwaterman
Copy link

yeah, works for me.

@sorvell
Copy link
Contributor

sorvell commented Oct 16, 2014

Thanks for your patience and feedback.

@sorvell sorvell closed this as completed Oct 16, 2014
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