app stoped working after using vulcanize on my imports file

I have all my imports in one file polymer-import.html:
<link rel="import" href="bower_components/promise-polyfill/promise-polyfill.html">
<link rel="import" href="bower_components/paper-spinner/paper-spinner.html">
<link rel="import" href="bower_components/paper-styles/paper-styles.html">
<link rel="import" href="bower_components/paper-toolbar/paper-toolbar.html">
<link rel="import" href="bower_components/gold-cc-cvc-input/gold-cc-cvc-input.html">
<link rel="import" href="bower_components/gold-cc-expiration-input/gold-cc-expiration-input.html">
<link rel="import" href="bower_components/gold-cc-input/gold-cc-input.html">
<link rel="import" href="bower_components/gold-email-input/gold-email-input.html">
<link rel="import" href="bower_components/gold-phone-input/gold-phone-input.html">
<link rel="import" href="bower_components/gold-zip-input/gold-zip-input.html">
<link rel="import" href="bower_components/google-apis/google-apis.html">
<link rel="import" href="bower_components/google-chart/google-chart.html">
<link rel="import" href="bower_components/google-map/google-map.html">
<link rel="import" href="bower_components/iron-a11y-announcer/iron-a11y-announcer.html">
<link rel="import" href="bower_components/iron-a11y-keys/iron-a11y-keys.html">
<link rel="import" href="bower_components/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html">
<link rel="import" href="bower_components/iron-ajax/iron-ajax.html">
<link rel="import" href="bower_components/iron-autogrow-textarea/iron-autogrow-textarea.html">
<link rel="import" href="bower_components/iron-collapse/iron-collapse.html">
<link rel="import" href="bower_components/iron-dropdown/iron-dropdown.html">
<link rel="import" href="bower_components/iron-dropdown/demo/x-select.html">
<link rel="import" href="bower_components/iron-fit-behavior/iron-fit-behavior.html">
<link rel="import" href="bower_components/iron-flex-layout/iron-flex-layout.html">
<link rel="import" href="bower_components/iron-form-element-behavior/iron-form-element-behavior.html">
<link rel="import" href="bower_components/iron-form/iron-form.html">
<link rel="import" href="bower_components/iron-icon/iron-icon.html">
<link rel="import" href="bower_components/iron-doc-viewer/iron-doc-viewer.html">
<link rel="import" href="bower_components/iron-doc-viewer/endpoint-doc-property.html">
<link rel="import" href="bower_components/iron-icons/iron-icons.html">
<link rel="import" href="bower_components/iron-icons/av-icons.html">
<link rel="import" href="bower_components/iron-icons/communication-icons.html">
<link rel="import" href="bower_components/iron-icons/device-icons.html">
<link rel="import" href="bower_components/iron-icons/editor-icons.html">
<link rel="import" href="bower_components/iron-icons/hardware-icons.html">
<link rel="import" href="bower_components/iron-icons/image-icons.html">
<link rel="import" href="bower_components/iron-icons/maps-icons.html">
<link rel="import" href="bower_components/iron-icons/notification-icons.html">
<link rel="import" href="bower_components/iron-icons/social-icons.html">
<link rel="import" href="bower_components/iron-iconset/iron-iconset.html">
<link rel="import" href="bower_components/iron-iconset-svg/iron-iconset-svg.html">
<link rel="import" href="bower_components/iron-image/iron-image.html">
<link rel="import" href="bower_components/iron-pages/iron-pages.html">
<link rel="import" href="bower_components/iron-input/iron-input.html">
<link rel="import" href="bower_components/iron-scroll-threshold/iron-scroll-threshold.html">
<link rel="import" href="bower_components/geo-location/geo-location.html">
<link rel="import" href="bower_components/iron-jsonp-library/iron-jsonp-library.html">
<link rel="import" href="bower_components/iron-media-query/iron-media-query.html">
<link rel="import" href="bower_components/iron-menu-behavior/iron-menu-behavior.html">
<link rel="import" href="bower_components/iron-meta/iron-meta.html">
<link rel="import" href="bower_components/iron-overlay-behavior/iron-overlay-behavior.html">
<link rel="import" href="bower_components/iron-resizable-behavior/iron-resizable-behavior.html">
<link rel="import" href="bower_components/iron-list/iron-list.html">
<link rel="import" href="bower_components/iron-selector/iron-selector.html">
<link rel="import" href="bower_components/iron-validatable-behavior/iron-validatable-behavior.html">
<link rel="import" href="bower_components/iron-validator-behavior/iron-validator-behavior.html">
<link rel="import" href="bower_components/neon-animation/neon-animation.html">
<link rel="import" href="bower_components/neon-animation/neon-animations.html">
<link rel="import" href="bower_components/neon-animation/neon-animated-pages.html">
<link rel="import" href="bower_components/neon-animation/neon-animatable-behavior.html">
<link rel="import" href="bower_components/neon-animation/neon-animatable.html">
<link rel="import" href="bower_components/neon-animation/neon-animation-behavior.html">
<link rel="import" href="bower_components/neon-animation/neon-animation-runner-behavior.html">
<link rel="import" href="bower_components/neon-animation/neon-shared-element-animatable-behavior.html">
<link rel="import" href="bower_components/neon-animation/neon-shared-element-animation-behavior.html">
<link rel="import" href="bower_components/neon-animation/web-animations.html">
<link rel="import" href="bower_components/paper-button/paper-button.html">
<link rel="import" href="bower_components/paper-badge/paper-badge.html">
<link rel="import" href="bower_components/paper-checkbox/paper-checkbox.html">
<link rel="import" href="bower_components/paper-date-picker/paper-date-picker.html">
<link rel="import" href="bower_components/paper-dialog/paper-dialog.html">
<link rel="import" href="bower_components/paper-dialog-scrollable/paper-dialog-scrollable.html">
<link rel="import" href="bower_components/paper-dialog-behavior/paper-dialog-behavior.html">
<link rel="import" href="bower_components/paper-drawer-panel/paper-drawer-panel.html">
<link rel="import" href="bower_components/paper-dropdown-menu/paper-dropdown-menu.html">
<link rel="import" href="bower_components/paper-progress/paper-progress.html">
<link rel="import" href="bower_components/paper-fab/paper-fab.html">
<link rel="import" href="bower_components/paper-header-panel/paper-header-panel.html">
<link rel="import" href="bower_components/paper-icon-button/paper-icon-button.html">
<link rel="import" href="bower_components/paper-input/paper-input.html">
<link rel="import" href="bower_components/paper-input/paper-textarea.html">
<link rel="import" href="bower_components/paper-item/paper-item.html">
<link rel="import" href="bower_components/paper-card/paper-card.html">
<link rel="import" href="bower_components/paper-material/paper-material.html">
<link rel="import" href="bower_components/paper-menu/paper-menu.html">
<link rel="import" href="bower_components/paper-menu/paper-submenu.html">
<link rel="import" href="bower_components/paper-menu-button/paper-menu-button.html">
<link rel="import" href="bower_components/paper-radio-button/paper-radio-button.html">
<link rel="import" href="bower_components/paper-radio-group/paper-radio-group.html">
<link rel="import" href="bower_components/paper-ripple/paper-ripple.html">
<link rel="import" href="bower_components/paper-scroll-header-panel/paper-scroll-header-panel.html">
<link rel="import" href="bower_components/paper-spinner/paper-spinner.html">
<link rel="import" href="bower_components/paper-styles/paper-styles.html">
<link rel="import" href="bower_components/paper-tabs/paper-tabs.html">
<link rel="import" href="bower_components/paper-toast/paper-toast.html">
<link rel="import" href="bower_components/paper-toggle-button/paper-toggle-button.html">
<link rel="import" href="bower_components/paper-toolbar/paper-toolbar.html">
<link rel="import" href="bower_components/paper-tooltip/paper-tooltip.html">
<link rel="import" href="bower_components/paper-fab-transitions/paper-fab-transitions.html">
<link rel="import" href="bower_components/paper-listbox/paper-listbox.html">
<link rel="import" href="bower_components/platinum-sw/platinum-sw-cache.html">
<link rel="import" href="bower_components/platinum-sw/platinum-sw-register.html">
<link rel="import" href="bower_components/grid-element/grid-element.html">

I tried using polybuild and vulcanize both give complete without issues and give me polymer-imports.build.html so I link it in my app instead of the original one but my app stops working and it throws all sorts of errors, a sample would be:
Uncaught DOMException: Failed to execute 'registerElement' on 'Document': Registration failed for type 'dom-module'. A type with that name is already registered.
    at http://<IP_ADDRESS>:8080/console/polymer-imports.build.html:339:10
    at http://<IP_ADDRESS>:8080/console/polymer-imports.build.html:354:2
(anonymous) @ polymer-imports.build.html:339
(anonymous) @ polymer-imports.build.html:354
polymer-imports.build.html:102 Uncaught TypeError: Polymer.Base._getExtendedPrototype is not a function
    at desugar (polymer-imports.build.html:102)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:6287
    at polymer-imports.build.html:6354
desugar @ polymer-imports.build.html:102
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:6287
(anonymous) @ polymer-imports.build.html:6354
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:8754
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:8754
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:9797
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:9797
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:11100
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:11100
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:11441
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:11441
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:11475
    at polymer-imports.build.html:11744
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:11475
(anonymous) @ polymer-imports.build.html:11744
polymer-imports.build.html:102 Uncaught TypeError: Polymer.Base._getExtendedPrototype is not a function
    at desugar (polymer-imports.build.html:102)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:11901
desugar @ polymer-imports.build.html:102
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:11901
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:12128
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:12128
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:12332
    at polymer-imports.build.html:12437
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:12332
(anonymous) @ polymer-imports.build.html:12437
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:12491
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:12491
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:12560
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:12560
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:12668
    at polymer-imports.build.html:12751
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:12668
(anonymous) @ polymer-imports.build.html:12751
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:12992
    at polymer-imports.build.html:13114
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:12992
(anonymous) @ polymer-imports.build.html:13114
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:13145
    at polymer-imports.build.html:13248
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:13145
(anonymous) @ polymer-imports.build.html:13248
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:13309
    at polymer-imports.build.html:13439
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:13309
(anonymous) @ polymer-imports.build.html:13439
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:13446
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:13446
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:13490
    at polymer-imports.build.html:13536
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:13490
(anonymous) @ polymer-imports.build.html:13536
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:13748
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:13748
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:13783
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:13783
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:13836
    at polymer-imports.build.html:14003
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:13836
(anonymous) @ polymer-imports.build.html:14003
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:14007
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:14007
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:14045
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:14045
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:14158
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:14158
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:14195
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:14195
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:14235
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:14235
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:14282
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:14282
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:14695
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:14695
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:15182
    at polymer-imports.build.html:15525
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:15182
(anonymous) @ polymer-imports.build.html:15525
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:16280
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:16280
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:16319
    at polymer-imports.build.html:16682
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:16319
(anonymous) @ polymer-imports.build.html:16682
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:16716
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:16716
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:17416
    at polymer-imports.build.html:17473
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:17416
(anonymous) @ polymer-imports.build.html:17473
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:17594
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:17594
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:17694
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:17694
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:17963
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:17963
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:18506
    at polymer-imports.build.html:18571
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:18506
(anonymous) @ polymer-imports.build.html:18571
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:19096
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:19096
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:19605
    at polymer-imports.build.html:20027
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:19605
(anonymous) @ polymer-imports.build.html:20027
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:20034
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:20034
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:20107
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:20107
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:20130
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:20130
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:20211
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:20211
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:20260
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:20260
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:20314
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:20314
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:20366
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:20366
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:20402
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:20402
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:20438
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:20438
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:20469
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:20469
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:20500
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:20500
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:20531
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:20531
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:20562
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:20562
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:20593
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:20593
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:20624
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:20624
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:20661
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:20661
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:20698
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:20698
polymer-imports.build.html:102 Uncaught TypeError: Polymer.Base._getExtendedPrototype is not a function
    at desugar (polymer-imports.build.html:102)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:20795
desugar @ polymer-imports.build.html:102
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:20795
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:22451
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:22451
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:22599
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:22599
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:22999
    at polymer-imports.build.html:23309
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:22999
(anonymous) @ polymer-imports.build.html:23309
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:23786
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:23786
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:24094
    at polymer-imports.build.html:24170
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:24094
(anonymous) @ polymer-imports.build.html:24170
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:24403
    at polymer-imports.build.html:24546
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:24403
(anonymous) @ polymer-imports.build.html:24546
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:24767
    at polymer-imports.build.html:24901
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:24767
(anonymous) @ polymer-imports.build.html:24901
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:25102
    at polymer-imports.build.html:25235
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:25102
(anonymous) @ polymer-imports.build.html:25235
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:25273
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:25273
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:26364
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:26364
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:26664
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:26664
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:26940
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:26940
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:27202
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:27202
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:27351
    at polymer-imports.build.html:27529
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:27351
(anonymous) @ polymer-imports.build.html:27529
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:27534
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:27534
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:27980
    at polymer-imports.build.html:29303
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:27980
(anonymous) @ polymer-imports.build.html:29303
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:29345
    at polymer-imports.build.html:29506
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:29345
(anonymous) @ polymer-imports.build.html:29506
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:29528
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:29528
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:29612
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:29612
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:30094
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:30094
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:30274
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:30274
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:30689
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:30689
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:31145
    at polymer-imports.build.html:31182
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:31145
(anonymous) @ polymer-imports.build.html:31182
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:31240
    at polymer-imports.build.html:31298
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:31240
(anonymous) @ polymer-imports.build.html:31298
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:31488
    at polymer-imports.build.html:31928
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:31488
(anonymous) @ polymer-imports.build.html:31928
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:31958
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:31958
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:32036
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:32036
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:32048
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:32048
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:32195
    at polymer-imports.build.html:32443
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:32195
(anonymous) @ polymer-imports.build.html:32443
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:32538
    at polymer-imports.build.html:32815
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:32538
(anonymous) @ polymer-imports.build.html:32815
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:33084
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:33084
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:33239
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:33239
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:33442
    at polymer-imports.build.html:33656
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:33442
(anonymous) @ polymer-imports.build.html:33656
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:33711
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:33711
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:33790
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:33790
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:33929
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:33929
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:34013
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:34013
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:34161
    at polymer-imports.build.html:34168
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:34161
(anonymous) @ polymer-imports.build.html:34168
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:34189
    at polymer-imports.build.html:34342
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:34189
(anonymous) @ polymer-imports.build.html:34342
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:34477
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:34477
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:34536
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:34536
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:34738
    at polymer-imports.build.html:35148
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:34738
(anonymous) @ polymer-imports.build.html:35148
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:35278
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:35278
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:35428
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:35428
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:35816
    at polymer-imports.build.html:35945
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:35816
(anonymous) @ polymer-imports.build.html:35945
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:36067
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:36067
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:36190
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:36190
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:36474
    at polymer-imports.build.html:36661
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:36474
(anonymous) @ polymer-imports.build.html:36661
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:36668
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:36668
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:36710
    at polymer-imports.build.html:36832
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:36710
(anonymous) @ polymer-imports.build.html:36832
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:36855
    at polymer-imports.build.html:36866
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:36855
(anonymous) @ polymer-imports.build.html:36866
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:36891
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:36891
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:37070
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:37070
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:37461
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:37461
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:37545
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:37545
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:37655
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:37655
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:37725
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:37725
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:37778
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:37778
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:37828
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:37828
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:37836
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:37836
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:38433
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:38433
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:38929
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:38929
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:41204
    at polymer-imports.build.html:41279
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:41204
(anonymous) @ polymer-imports.build.html:41279
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:41308
    at polymer-imports.build.html:41322
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:41308
(anonymous) @ polymer-imports.build.html:41322
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:41346
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:41346
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:41448
registerCallback @ polymer-imports.build.html:212
desugar @ polymer-imports.build.html:105
window.Polymer @ polymer-imports.build.html:89
(anonymous) @ polymer-imports.build.html:41448
polymer-imports.build.html:212 Uncaught TypeError: this._desugarBehaviors is not a function
    at HTMLElement.registerCallback (polymer-imports.build.html:212)
    at desugar (polymer-imports.build.html:105)
    at window.Polymer (polymer-imports.build.html:89)
    at polymer-imports.build.html:41911
    at polymer-imports.build.html:42235

Why is this happening and how to fix it? Also why is the build.html is not minified?
here are the commands I tried:
$ vulcanize --inline-scripts --inline-css --strip-comments polymer-imports.html > polymer-imports.build.html
$ polybuild polymer-imports.html --maximum-crush

Please consider using polymer-cli for bundling.
With this tool you don't need to put all your imports in the same file, instead each your element should only import deps it actually uses.

Hi,
I already need all of these imports :)
I installed polymer-cli and used it as follows:
$ polymer build --entrypoint polymer-imports.html
info:    Preparing build...
info:    Building application...
info:    Generating build/unbundled...
info:    Generating build/bundled...
info:    Build complete!

But am still getting the same exact errors on console. any ideas?

You're likely importing polymer.html twice or more. Make sure that you are only referring it inside your build file and not also outside of it.

Like @travellhyne said it seems like you are importing polymer.html somewhere which is not included in this file. eg. If in your index.html or my-app.html you have import for polymer.html and your polymer-import.html file or as a matter of fact any other element which is importing polymer.html directly or indirectly you will see this error.

Closing this as the above two commenters are correct. This error exists when you import Polymer twice. Make sure that the imports you load are unique. You can debug this yourself by opening the network panel on your non-built version and check which urls load Polymer. If you see polymer.html twice as network request, one of these requests is incorrect.


Building library with webpack in postinstall script

Bug report

What is the current behavior?
Tryin to import and build library with webpack in postinstall script. Have repo for understanding - https://github.com/errashe/somelib.
Used by yarn like - "somelib": "git+ssh://git@github.com:errashe/somelib.git#master".
And postinstall script generate errors like this -
Module parse failed: Unexpected token (1:19) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
Looks like a bug for me. Cuz that's pretty fine building like standalone library. Even more - if i yarn-link that library into my project - that's easily building and could be used.
If the current behavior is a bug, please provide the steps to reproduce.

Create new project with yarn.
Add library into package.json file with "somelib": "git+ssh://git@github.com:errashe/somelib.git#master"
Run yarn install

What is the expected behavior?
Builded library and generated dist inside node_modules/somelib directory.

Other relevant information:
webpack version:  5.65.0
Node.js version: v17.2.0
Operating System: maxOS 12.0.1 21A559

Sorry, no problems with webpack, we don't have special logic for package managers or scripts, also your problem is not reproducible, double check your environment


chore(docs): update docs

What ❔

update docs

Why ❔

update docs

Checklist

[x] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[x] Tests for the changes have been added / updated.
[x] Documentation comments have been added / updated.
[x] Code has been formatted via zk fmt and zk lint.

@penghuarong Looks liks after merging the most recent main, the lints CI job fails. Could you please run zk fmt?

How are the numerous errors merged when running the zk lint command?

It's because DAL crate has been changed. Most likely, you need to run zk init before zk fmt to apply migrations to your local database.

 How are the numerous errors merged when running the zk lint command?

@popzxc

It's because DAL crate has been changed. Most likely, you need to run zk init before zk fmt to apply migrations to your local database.

What should I do?

Does it happen during zk init?

Does it happen during zk init?

zk lint

As I mentioned above, you need to run zk init first, so that new migrations are applied to the database.

Alternatively, you may run zk fmt prettier to avoid formatting Rust code. It may work without having to run zk init.

Alternatively, you may run zk fmt prettier to avoid formatting Rust code. It may work without having to run zk init.

Awesome, thank you very much


Switch from NVD json feeds to API

Closes #324
TODO

[x] Resolve matching to CVEs with configurations -- currently, CVEDataset only contains matching criteria for such configurations. Special look up dictionary must be built to address this
[x] Check that the workflow for fetching the datasets, for CPE and CVE matching actually works
[x] Start using cached CPEs again (makes no sense since CVEDataset no longer works with them)
[x] Apply one full run for sanity check. Compare number of detected CPEs and CVEs

Just download certs, process auxiliary datasets, compute_cpe_heuristics, compte_related_cves

[x] Unify logging during downloads and heuristics processiing
[ ] Rewrite old tests to account for new fields in the objects
[ ] Write new tests to test the dataset builder
[x] Run all notebooks -- update necessary methods
[x] Update docs with the NVD API key description. Describe how the data is being pulled, etc.
[x] Investigate RoCA CVEs and also other cases,  see note below.
[x] Write docstrings

Also, it may be valuable to put up a list of expected CVEs and there matches. Maybe we could collect it on Trello. I don't think that we want to run these tests on each commit (so I'll disable them in CI/CD), but it may be good idea to run them when touching CVE/CPE matching.

Endpoints to use:

CPE API to recover all CPEs: https://services.nvd.nist.gov/rest/json/cpes/2.0
CVE API to recover all CVEs: https://services.nvd.nist.gov/rest/json/cves/2.0
CPEMatch API to map CPE criteria to CPE names: https://services.nvd.nist.gov/rest/json/cpematch/2.0

Notes:

This doesn't seem to hurt peak RAM usage, we still peak at ~8GB when CVE matching
Serialized datasets can take up to 2GB uncompressed. Compression ratio is approx. 10.
In total, we identified 21060 vulnerabilities in 348 vulnerable certificates.
The following snippet runs approx 26 minutes on my laptop (all is downloaded)

cc_dset = CCDataset(root_dir="/Users/adam/phd/projects/certificates/sec-certs/datasets/cc")
cc_dset.get_certs_from_web()
cc_dset._prepare_cpe_dataset()
cc_dset._prepare_cve_dataset()
cc_dset._prepare_cpe_match_dict()
cc_dset.compute_cpe_heuristics()
cc_dset.compute_related_cves()

@J08nY Could you pls expose CPEDataset, CVEDataset` and json of CPE Match feed somewhere on seccerts.org in compressed form?
The URLs are in the settings: https://github.com/crocs-muni/sec-certs/blob/fc638a859741a6cd8096c23789fc8ddff5236272/src/sec_certs/configuration.py#L72-L80, feel free to change them as you find fitting.
The CPEDataset and CVEDataset instances can be compressed with to_json(compress=True). CPEMatch feed is just a json, so it has to be handled separately.

Where do I get the CPE match feed? What processing do I need to do to obtain it?

Where do I get the CPE match feed? What processing do I need to do to obtain it?

If you have processed dataset available, the json should sit in auxiliary_datasets directory. Otherwise, you can obtain it with _prepare_cpe_match_dict(): https://github.com/crocs-muni/sec-certs/blob/d3d470ed408fde3638d26b49a7f6a403fe57c7e9/src/sec_certs/dataset/dataset.py#L400.
You can either copy the contents of the method, or just create new dataset at some path and call the method right away. E.g.,
from sec_certs.dataset import CCDataset
cc_dset = CCDataset(root_dir="/whatever/path")
cpe_match_dict = cc_dset._prepare_cpe_match_dict()

Now you just need to store the json it with gzip.

Regarding import time optimization, this post has a nice summary of different approachis that you can use to adress this: https://adamj.eu/tech/2023/03/02/django-profile-and-improve-import-time/
I did some profiling.  Any further reduction would require:

Deferring numpy (doable, but needs some thinking, saves 0.1s or 10%)
Deferring BS4  (doable, but nneeds some thinking, saves 0.1 or 10%)
Deferring pandas (undoable, used in typing quite a bit, saves 0.4 or 30%)
Ditching imports from __init__.py files, they eat approx. 35%

I did the profiling with python -X importtime yourfile.py 2> import.log and https://pypi.org/project/tuna/


error: The dependency graph could not be satisfied (https://github.com/jpsim/Yams.git)

When trying to build with:
swift build -Xswiftc -target -Xswiftc x86_64-apple-macosx10.11

or
swift build -Xswiftc -target -Xswiftc x86_64-apple-macosx10.12

It does download everything with:
.Package(url: "https://github.com/jpsim/Yams.git", Version(0, 2, 0)),

Which revision are you using? I probably need to make a new tag. You need to use a commit after 73b018ee462c211bc8e22dcbde5dde73ddc38d96 which should resolve this issue.

same using master.

Ok I just tried this on an macOS VM I made and replicate it locally now.
What is weird is that my usual dev machine doesn't have this problem. 🤔
SwiftPM AM I RIGHT!? 🤷🏻♂🙋🏻♂

I have the same issue :(

My guess is that you are not using Xcode 8.3 (I'm using Version 8.3 beta 3 (8W132p)).
$ sudo xcode-select -switch /Applications/Xcode-beta.app/Contents/Developer
$ swift package --version
Apple Swift Package Manager - Swift 3.1.0-dev (swiftpm-12078)
$ swift build -Xswiftc -target -Xswiftc x86_64-apple-macosx10.11
Fetching https://github.com/RLovelett/SourceKitten.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/thoughtbot/Argo.git
Fetching https://github.com/edwardaux/Ogra.git
Fetching https://github.com/thoughtbot/Curry.git
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/norio-nomura/Clang_C.git
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/thoughtbot/Runes.git
Fetching https://github.com/antitypical/Result.git
Fetching https://github.com/norio-nomura/SourceKit.git
Cloning https://github.com/RLovelett/SourceKitten.git
Resolving https://github.com/RLovelett/SourceKitten.git at 0.18.0-beta.1
Cloning https://github.com/jpsim/Yams.git
Resolving https://github.com/jpsim/Yams.git at 0.1.4
Cloning https://github.com/thoughtbot/Curry.git
Resolving https://github.com/thoughtbot/Curry.git at 3.0.0
Cloning https://github.com/norio-nomura/SourceKit.git
Resolving https://github.com/norio-nomura/SourceKit.git at 1.0.1
Cloning https://github.com/antitypical/Result.git
Resolving https://github.com/antitypical/Result.git at 3.1.0
Cloning https://github.com/norio-nomura/Clang_C.git
Resolving https://github.com/norio-nomura/Clang_C.git at 1.0.2
Cloning https://github.com/Carthage/Commandant.git
Resolving https://github.com/Carthage/Commandant.git at 0.11.3
Cloning https://github.com/edwardaux/Ogra.git
Resolving https://github.com/edwardaux/Ogra.git at 4.1.1
Cloning https://github.com/thoughtbot/Argo.git
Resolving https://github.com/thoughtbot/Argo.git at 4.1.2
Cloning https://github.com/drmohundro/SWXMLHash.git
Resolving https://github.com/drmohundro/SWXMLHash.git at 3.0.3
Cloning https://github.com/thoughtbot/Runes.git
Resolving https://github.com/thoughtbot/Runes.git at 4.0.1
Compile CYaml src/writer.c
Compile CYaml src/scanner.c
Compile CYaml src/reader.c
Compile CYaml src/parser.c
Compile CYaml src/loader.c
Compile CYaml src/emitter.c
Compile CYaml src/api.c
Compile CYaml src/dumper.c
Compile Swift Module 'SWXMLHash' (2 sources)
Compile Swift Module 'Result' (2 sources)
Compile Swift Module 'Curry' (1 sources)
Compile Swift Module 'Runes' (3 sources)
Linking CYaml
Compile Swift Module 'Argo' (19 sources)
Compile Swift Module 'Yams' (2 sources)
Compile Swift Module 'Commandant' (9 sources)
/Users/lovelett/Source/langserver-swift/.build/checkouts/Yams.git-8068124914099325722/Sources/Yams/Yams.swift:141:76: warning: '-' is deprecated: Mixed-type subtraction is deprecated. Please use explicit type conversion.
        let newNode: (Int32) -> Node = { Node(nodes: nodes, node: nodes[$0 - 1]) }
                                                                           ^
Compile Swift Module 'SourceKittenFramework' (33 sources)
Compile Swift Module 'Ogra' (1 sources)
/Users/lovelett/Source/langserver-swift/.build/checkouts/SourceKitten.git--5781163794506590952/Source/SourceKittenFramework/library_wrapper.swift:20:55: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
        fatalError("Finding symbol \(symbol) failed: \(errorString)")
                                                      ^~~~~~~~~~~~~
/Users/lovelett/Source/langserver-swift/.build/checkouts/SourceKitten.git--5781163794506590952/Source/SourceKittenFramework/library_wrapper.swift:20:56: note: use 'String(describing:)' to silence this warning
        fatalError("Finding symbol \(symbol) failed: \(errorString)")
                                                      ~^~~~~~~~~~~~
                                                       String(describing:  )
/Users/lovelett/Source/langserver-swift/.build/checkouts/SourceKitten.git--5781163794506590952/Source/SourceKittenFramework/library_wrapper.swift:20:56: note: provide a default value to avoid this warning
        fatalError("Finding symbol \(symbol) failed: \(errorString)")
                                                      ~^~~~~~~~~~~~
                                                                   ?? <#default value#>
Compile Swift Module 'sourcekitten' (10 sources)
Compile Swift Module 'JSONRPC' (6 sources)
Compile Swift Module 'YamlConvertable' (3 sources)
Compile Swift Module 'LanguageServerProtocol' (42 sources)
Linking ./.build/debug/sourcekitten
Compile Swift Module 'LanguageServer' (2 sources)
Linking ./.build/debug/langserver-swift
Linking ./.build/debug/LanguageServer

I'm going to update the requirements on the README to require Xcode 8.3 beta 3 (8W132p). After Swift 3.1 is released I'll start using branches to provide backward compatibility to older Swift (Xcode) toolchains.
Unfortunately, at the moment this project relies heavily on the latest SwiftPM; hopefully this stabilizes a lot in the future. My apologies for the instability.


Why does the classification head output 91 dimensionalities?

COCO only has 80 classes in object detection dataset ，why are 91 categories predicted in the code？

The annotations in COCO have a max label id 91(although only 80 categories are used), hence we use 91 categories to follow DETR. Some label ids are blank.

OK. Thanks for your reply!

Sorry for re-opening this issue, DETR actually has 92 classes for the last classification layer. 92th (index 91) slot is used for no-object class. I see you are using 91 slots (index 0 to 90), which slot are you using to define no object?


allow_partials false should check data exists

When allow_partials is false it is still possible for a time interval to be run with no source data available for it.
A check should run ahead of model run/plan to see if source data exists beyond the end of the time interval to be run. If this check fails then the model and dependents should skip and warn.

you’re looking for signals
https://sqlmesh.readthedocs.io/en/stable/guides/signals/?h=signal


[Bug] [r] SOMASparseNDArray$read()$sparse_matrix()$concat() error on empty array

While working #1429 we wrote a test case involving reading a newly-created, empty 2x2 SOMASparseNDArray. Using read()$sparse_matrix()$concat() on it produced this error:
  ── Error ('test-SOMACollection.R:99:3'): SOMACollection timestamped ops ────────
  Error in `Matrix::sparseMatrix(i = soma_dim_0_one_based, j = soma_dim_1_one_based,
      x = soma_data, dims = shape, repr = repr)`: all(dims >= dims.min) is not TRUE
  Backtrace:
      ▆
   1. └─collection$get("A")$read()$sparse_matrix()$concat() at test-SOMACollection.R:99:2
   2.   └─self$read_next()
   3.     └─private$soma_reader_transform(rl)
   4.       └─tiledbsoma:::arrow_table_to_sparse(...)
   5.         └─Matrix::sparseMatrix(...)
   6.           └─base::stopifnot(all(dims >= dims.min))

Strangely, this error arose only in GHA CI, not on our local machines.
The test setup involved timestamped operations, but I suspect it's probably an edge-case bug with empty result sets or empty arrays, not specific to time travel.

@pablo-gar including in this sprint, but as lower-pri

A reproducible example would help here. I've tried unsuccessfully to reproduce.
@mlin


pick up proxy settings

Resolve #2
Pick up http_proxy and http.proxyStrictSSL to make it able to download sonarlint-cli behand a proxy

Hi, any chance this can be reviewed this week? I am trying to promote this extension in our project but the proxy thing is a blocking issue... Thanks... :)

Oh, my bad!
I'll review it right now


gitlab-ce: upgrade from 14.7.2 to 14.8.2

Release 14.8.2 includes critical security for runner registration token disclosure:
https://about.gitlab.com/releases/2022/02/25/critical-security-release-gitlab-14-8-2-released/

bors r+


Enable keyAgreement for keyUsage field for SECC certificate

According to ISO 15118-2 the SECC certificate must have the keyAgreement
bit set in keyUsage. This makes sense since the certificate is used for
Diffie Hellmann key exchange in the TLS connection.
Signed-off-by: Michael Heimpold<EMAIL_ADDRESS>

Obsoleted by 0bf8aee.


Added ability to allow iframe

You should also commit --amend to hide the onshift specific changes you are removing

@lieutdan13 I have made a change per your request.

@ilyaGotfryd sorry. I did not finish my CR from this morning.

Also, @ryanhaffey has some concerns with dependency management. We are making custom changes and now relying on an external dependency.


Make go vet happy

Closes https://github.com/go-reform/reform/issues/245

When will this go into release?


An argument to customise the directory of crash reproducers

Currently, Centipede saves all inputs that crash the target program into crashes/ of workdir/.
Would it be possible to add a feature to allow users to customise which directory to save those inputs?
For example, it would be great if Centipede could take a flag --crashes-dir=</path/to/crashes> and save crash reproducers to the dir </path/to/crashes> at the users' preference.
Thanks!

it's certainly possible, but I wont to avoid avoidable flags. :)
Is this flag avoidable?

Thanks!
Yep, we have a workaround for now : )
I will come back here if this turns out to be necessary later!