StartPolymer / polymer-starter-kit-plus-old

A starting point for building Single-Page Applications with Polymer 1.x
Other
78 stars 26 forks source link

Uncaught TypeError: Cannot read property 'trim' of undefined #47

Closed dominik0711 closed 8 years ago

dominik0711 commented 8 years ago

My application based on Polymer-PSK+ and ES2015. Using my distributed version of the application I'll receive the following error:

Uncaught TypeError: Cannot read property 'trim' of undefined (elements.js line 5832)

The reason for this is due to 'missing' properties of Polymer paper-input-container-underline element, see:

image

image

The assignment to properties[m[1]] fails due to (m[2] || m[3]).trim();:

m[2] = "" 
and m[3] = undefined

Any hints how to solve this problem and how to use the distributed version of my application?

JosefJezek commented 8 years ago

What is distributed version?

dominik0711 commented 8 years ago

Sorry! Distibuted version means vulcanized version of the project

JosefJezek commented 8 years ago

Do you have latest version of node, bower and npm? Delete cache of packages...

JosefJezek commented 8 years ago

https://gist.github.com/bab4fce0ac19f31bbfa8

JosefJezek commented 8 years ago

I am creating new template... Check out this repo https://github.com/StartPolymer/progressive-web-app-template