Can't Use Polymer Element - “Failed to execute 'registerElement' on 'Document'”
问题 I created an element which which I'll simplify here for brevity, and I wanted to do an end-to-end process and see if it works. This is its bower.json file: { "name": "test-element", "version": "0.0.1", "authors": [ "my name" ], "description": "A description", "license": "MIT", "ignore": [ "**/.*", "node_modules", "bower_components", "test", "tests" ], "dependencies": { "polymer": "~0.9.0" } } I uploaded it to my test repo, and opened a new project in WebStorm. I did bower install test-element