You should be installing Polymer 0.9.0, not 0.9.0-rc.1. Other than that, it's hard to know what the problem is without code. "Polymer.dom is not a function" sounds like you might be importing the 0.5 version of Polymer. Try logging Polymer.version as a sanity check?
On Mon, May 18, 2015 at 1:30 PM, Vincent Uribe <[email protected]> wrote: > Hi! > > I've been developping a webapp since january and kept going with Polymer > 0.5 as the 0.8 was not final enough for my tastes. I started migrating to > the 0.9 today and have been somewhat battling with this error: > > Uncaught TypeError: Polymer.dom is not a function > Uncaught TypeError: Cannot read property 'instanceCount' of undefined > Uncaught NotSupportedError: Failed to execute 'registerElement' on > 'Document': Registration failed for type 'paper-ripple'. A type with that > name is already registered. > > This is my bower.json: > > "dependencies": { > "polymer": "Polymer/polymer", > "iron-ajax": "PolymerElements/iron-ajax", > "iron-autogrow-textarea": "PolymerElements/iron-autogrow-textarea", > "iron-icon": "PolymerElements/iron-icon", > "iron-a11y-keys-behavior": "PolymerElements/iron-a11y-keys-behavior", > "iron-a11y-keys": "PolymerElements/iron-a11y-keys", > "iron-input": "PolymerElements/iron-input", > "iron-signals": "PolymerElements/iron-signals", > "iron-icons": "PolymerElements/iron-icons", > "iron-collapse": "PolymerElements/iron-collapse", > "iron-flex-layout": "PolymerElements/iron-flex-layout", > "iron-fit-behavior": "PolymerElements/iron-fit-behavior", > "paper-button": "PolymerElements/paper-button", > "paper-toolbar": "PolymerElements/paper-toolbar", > "paper-tabs": "PolymerElements/paper-tabs", > "paper-toast": "PolymerElements/paper-toast", > "paper-menu": "PolymerElements/paper-menu", > "paper-item": "PolymerElements/paper-item", > "paper-header-panel": "PolymerElements/paper-header-panel", > "paper-icon-button": "PolymerElements/paper-icon-button", > "paper-drawer-panel": "PolymerElements/paper-drawer-panel", > "paper-checkbox": "PolymerElements/paper-checkbox", > "layout": "Polymer/layout", > "neon-animation": "PolymerElements/neon-animation" > }, > "resolutions": { > "polymer": "v0.9.0-rc.1", > "webcomponentsjs": "^0.6.0" > } > > Am I doing something wrong? > > Thanks in advance. > > Follow Polymer on Google+: plus.google.com/107187849809354688692 > --- > You received this message because you are subscribed to the Google Groups > "Polymer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/polymer-dev/bc05eec0-daae-47ce-bb16-5756e47ad45e%40googlegroups.com > <https://groups.google.com/d/msgid/polymer-dev/bc05eec0-daae-47ce-bb16-5756e47ad45e%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CADSbU_wy3yD8GLNHLmnC3NY%3D%2B_M81HVg%3D4jNAspWDqk2S8DiAg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
