gdg-x / hoverboard

Conference website template
https://hoverboard-master.web.app
Other
1.11k stars 1.09k forks source link

Polymer-cli 0.16 didn't work for me #152

Closed MrCsabaToth closed 8 years ago

MrCsabaToth commented 8 years ago

I'm on the develop branch. Noticed not so long ago that the documentation changed and it doesn't enforce 0.12 Polymer any more. I gave 0.16 a try but it broke the site.

ozasadnyy commented 8 years ago

Could you please attach screenshots and console logs?

MrCsabaToth commented 8 years ago

I'll try later, but that happen during a night during JavaOne, and when I noticed it broke the site (it looked like working in local debug) I immediately had to revert it. So I'll need to setup a separate deploy somewhere. Symptoms + error messages were the same (as far as I remember) like when people didn't notice the @0.12 version before in the documents.

MrCsabaToth commented 8 years ago

Do you have hoverboard w 0.16 Polymer version deployed somewhere? Is the hoverboard demo already on 0.16? In this case I clearly had something wrong on my side.

ozasadnyy commented 8 years ago

Yes. https://devfest.gdg.org.ua/ https://gdgcee.org/ http://hoverboard-dev.firebaseio.com/

All of them are using the latest version of Hoverboard. Please send me logs from polymer serve and polymer build

MrCsabaToth commented 8 years ago

I see: https://hoverboard-dev.firebaseapp.com/ Looks like working fine. I have to look around in my own backyard then.

MrCsabaToth commented 8 years ago
C:\Users\Admin\Documents\GitRepos\ProgressiveWebApp\valleydevfest>polymer build
info:    Building application...
warn:    Unable to optimize .js file C:\Users\Admin\Documents\GitRepos\ProgressiveWebApp\valleydevfest\index.html_script_1.js
{ err:
   { message: 'SyntaxError: Unexpected token: punc (:)',
     filename: 0,
     line: 3,
     col: 16,
     pos: 23,
     stack: 'Error\n    at new JS_Parse_Error (eval at <anonymous> (C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\polymer-cli\\node_modules\\uglify-js\\tools\\node.js:28:1), <anonymous>:1545:18)\n    at js_error (eval at <anonymous> (C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\polymer-cli\\node_modules\\uglify-js\\tools\\node.js:28:1), <anonymous>:1553:11)\n    at croak (eval at <anonymous> (C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\polymer-cli\\node_modules\\uglify-js\\tools\\node.js:28:1), <anonymous>:2092:9)\n    at token_error (eval at <anonymous> (C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\polymer-cli\\node_modules\\uglify-js\\tools\\node.js:28:1), <anonymous>:2100:9)\n    at unexpected (eval at <anonymous> (C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\polymer-cli\\node_modules\\uglify-js\\tools\\node.js:28:1), <anonymous>:2106:9)\n    at semicolon (eval at <anonymous> (C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\polymer-cli\\node_modules\\uglify-js\\tools\\node.js:28:1), <anonymous>:2126:56)\n    at simple_statement (eval at <anonymous> (C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\polymer-cli\\node_modules\\uglify-js\\tools\\node.js:28:1), <anonymous>:2317:73)\n    at eval (eval at <anonymous> (C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\polymer-cli\\node_modules\\uglify-js\\tools\\node.js:28:1), <anonymous>:2167:47)\n    at eval (eval at <anonymous> (C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\polymer-cli\\node_modules\\uglify-js\\tools\\node.js:28:1), <anonymous>:2139:24)\n    at block_ (eval at <anonymous> (C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\polymer-cli\\node_modules\\uglify-js\\tools\\node.js:28:1), <anonymous>:2432:20)' } }
info:    Generating build/unbundled...
info:    Generating build/bundled...
error:   Uncaught exception: Error: ENOENT: no such file or directory, open 'C:\Users\Admin\Documents\GitRepos\ProgressiveWebApp\valleydevfest\bower_components\polymer\polymer.html'
error:   Error: ENOENT: no such file or directory, open 'C:\Users\Admin\Documents\GitRepos\ProgressiveWebApp\valleydevfest\bower_components\polymer\polymer.html'
    at Error (native)
warn:    Unable to optimize .js file C:\Users\Admin\Documents\GitRepos\ProgressiveWebApp\valleydevfest\src\pages\blog-list.html_script_0.js
{ err:
   { message: 'SyntaxError: Unexpected token punc «(», expected punc «:»',
     filename: 0,
     line: 42,
     col: 28,
     pos: 950,
     stack: 'Error\n    at new JS_Parse_Error (eval at <anonymous> (C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\polymer-cli\\node_modules\\uglify-js\\tools\\node.js:28:1), <anonymous>:1545:18)\n    at js_error (eval at <anonymous> (C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\polymer-cli\\node_modules\\uglify-js\\tools\\node.js:28:1), <anonymous>:1553:11)\n    at croak (eval at <anonymous> (C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\polymer-cli\\node_modules\\uglify-js\\tools\\node.js:28:1), <anonymous>:2092:9)\n    at token_error (eval at <anonymous> (C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\polymer-cli\\node_modules\\uglify-js\\tools\\node.js:28:1), <anonymous>:2100:9)\n    at expect_token (eval at <anonymous> (C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\polymer-cli\\node_modules\\uglify-js\\tools\\node.js:28:1), <anonymous>:2113:9)\n    at expect (eval at <anonymous> (C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\polymer-cli\\node_modules\\uglify-js\\tools\\node.js:28:1), <anonymous>:2116:36)\n    at eval (eval at <anonymous> (C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\polymer-cli\\node_modules\\uglify-js\\tools\\node.js:28:1), <anonymous>:2689:13)\n    at eval (eval at <anonymous> (C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\polymer-cli\\node_modules\\uglify-js\\tools\\node.js:28:1), <anonymous>:2139:24)\n    at expr_atom (eval at <anonymous> (C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\polymer-cli\\node_modules\\uglify-js\\tools\\node.js:28:1), <anonymous>:2619:35)\n    at maybe_unary (eval at <anonymous> (C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\polymer-cli\\node_modules\\uglify-js\\tools\\node.js:28:1), <anonymous>:2795:19)' } }

C:\Users\Admin\Documents\GitRepos\ProgressiveWebApp\valleydevfest>
MrCsabaToth commented 8 years ago

Hold on, I'll give it another try later

ozasadnyy commented 8 years ago

@MrCsabaToth first error is okay, just skip it.

error:   Uncaught exception: Error: ENOENT: no such file or directory, open 'C:\Users\Admin\Documents\GitRepos\ProgressiveWebApp\valleydevfest\bower_components\polymer\polymer.html'

Have you run bower install before? Seems like some components are missing.

MrCsabaToth commented 8 years ago

Still no luck.

bower.json { "name": "hoverboard", "authors": [ "Oleh Zasadnyy, GDG Lviv" ], "private": true, "dependencies": { "app-layout": "PolymerElements/app-layout#^0.10.0", "app-route": "PolymerElements/app-route#^0.9.0", "app-localize-behavior": "PolymerElements/app-localize-behavior#^0.9.0", "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.3.0", "iron-icon": "PolymerElements/iron-icon#^1.0.0", "iron-iconset-svg": "PolymerElements/iron-iconset-svg#^1.0.0", "iron-localstorage": "PolymerElements/iron-localstorage#^1.0.0", "iron-media-query": "PolymerElements/iron-media-query#^1.0.0", "iron-pages": "PolymerElements/iron-pages#^1.0.0", "iron-selector": "PolymerElements/iron-selector#^1.5.0", "iron-ajax": "PolymerElements/iron-ajax#^1.4.0", "iron-image": "PolymerElements/iron-image#^1.2.0", "iron-dropdown": "PolymerElements/iron-dropdown#^1.5.0", "paper-icon-button": "PolymerElements/paper-icon-button#^1.1.0", "paper-scroll-header-panel": "PolymerElements/paper-scroll-header-panel#^1.0.0", "paper-dialog": "PolymerElements/paper-dialog#^1.1.0", "paper-tabs": "PolymerElements/paper-tabs#^1.6.0", "paper-toolbar": "PolymerElements/paper-toolbar#^1.1.0", "paper-toast": "PolymerElements/paper-toast#^1.3.0", "paper-button": "PolymerElements/paper-button#^1.0.0", "paper-checkbox": "PolymerElements/paper-checkbox#^1.4.0", "paper-input": "PolymerElements/paper-input#^1.1.0", "paper-item": "PolymerElements/paper-item#^1.2.0", "paper-menu": "PolymerElements/paper-menu#^1.2.0", "paper-material": "PolymerElements/paper-material#^1.0.0", "paper-tooltip": "PolymerElements/paper-tooltip#^1.1.0", "paper-card": "PolymerElements/paper-card#^1.1.0", "paper-menu-button": "PolymerElements/paper-menu-button#^1.5.0", "paper-fab": "PolymerElements/paper-fab#^1.2.0", "paper-dropdown-menu": "PolymerElements/paper-dropdown-menu#^1.3.0", "paper-spinner": "PolymerElements/paper-spinner#^1.2.0", "paper-listbox": "PolymerElements/paper-listbox#^1.1.0", "neon-animation": "PolymerElements/neon-animation#^1.2.0", "marked-element": "PolymerElements/marked-element#^1.1.0", "google-youtube": "GoogleWebComponents/google-youtube#^1.2.0", "google-map": "GoogleWebComponents/google-map#^1.1.0", "polymer": "Polymer/polymer#^1.6.0", "time-elements": "github/time-elements#^0.6.0" }, "devDependencies": { "web-component-tester": "Polymer/web-component-tester#^4.3.0" } }
MrCsabaToth commented 8 years ago

Actually bower installed 1.7.0 polymer. Is that correct? Still getting

info: Building application... warn: Unable to optimize .js file C:\Users\Admin\Documents\GitRepos\valleydevfest\index.html_script_1.js { err: { message: 'SyntaxError: Unexpected token: punc (:)', filename: 0, line: 3, col: 16, pos: 23, stack: 'Error\n at new JS_Parse_Error (eval at (C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\uglify-js\tools\node.js:28:1), :1545:18)\n at js_error (eval at (C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\uglify-js\tools\node.js:28:1), :1553:11)\n at croak (eval at (C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\uglify-js\tools\node.js:28:1), :2092:9)\n at token_error (eval at (C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\uglify-js\tools\node.js:28:1), :2100:9)\n at unexpected (eval at (C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\uglify-js\tools\node.js:28:1), :2106:9)\n at semicolon (eval at (C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\uglify-js\tools\node.js:28:1), :2126:56)\n at simple_statement (eval at (C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\uglify-js\tools\node.js:28:1), :2317:73)\n at eval (eval at (C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\uglify-js\tools\node.js:28:1), :2167:47)\n at eval (eval at (C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\nodemodules\uglify-js\tools\node.js:28:1), :2139:24)\n at block (eval at (C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\uglify-js\tools\node.js:28:1), :2432:20)' } } info: Generating build/unbundled... info: Generating build/bundled... info: Build complete!

MrCsabaToth commented 8 years ago

With polymer-cli@0.12 I got also a dozen of unable to optimize js, but it never presented { err: to me. Last time I deployed such version I broke the site.

MrCsabaToth commented 8 years ago

bower iron-iconset-svg#^1.0.0 not-cached git://github.com/polymerelements/iron-iconset-svg.git#^1.0.0 bower iron-iconset-svg#^1.0.0 resolve git://github.com/polymerelements/iron-iconset-svg.git#^1.0.0 bower app-layout#^0.10.0 cached git://github.com/PolymerElements/app-layout.git#0.10.4 bower app-layout#^0.10.0 validate 0.10.4 against git://github.com/PolymerElements/app-layout.git#^0.10.0 bower iron-icon#^1.0.0 cached git://github.com/PolymerElements/iron-icon.git#1.0.11 bower iron-icon#^1.0.0 validate 1.0.11 against git://github.com/PolymerElements/iron-icon.git#^1.0.0 bower app-route#^0.9.0 cached git://github.com/PolymerElements/app-route.git#0.9.2 bower app-route#^0.9.0 validate 0.9.2 against git://github.com/PolymerElements/app-route.git#^0.9.0 bower iron-flex-layout#^1.3.0 cached git://github.com/PolymerElements/iron-flex-layout.git#1.3.1 bower iron-flex-layout#^1.3.0 validate 1.3.1 against git://github.com/PolymerElements/iron-flex-layout.git#^1.3.0 bower iron-media-query#^1.0.0 cached git://github.com/PolymerElements/iron-media-query.git#1.0.8 bower iron-media-query#^1.0.0 validate 1.0.8 against git://github.com/PolymerElements/iron-media-query.git#^1.0.0 bower app-localize-behavior#^0.9.0 cached git://github.com/PolymerElements/app-localize-behavior.git#0.9.2 bower app-localize-behavior#^0.9.0 validate 0.9.2 against git://github.com/PolymerElements/app-localize-behavior.git#^0.9.0 bower iron-selector#^1.5.0 cached git://github.com/PolymerElements/iron-selector.git#1.5.2 bower iron-selector#^1.5.0 validate 1.5.2 against git://github.com/PolymerElements/iron-selector.git#^1.5.0 bower iron-localstorage#^1.0.0 cached git://github.com/PolymerElements/iron-localstorage.git#1.0.6 bower iron-localstorage#^1.0.0 validate 1.0.6 against git://github.com/PolymerElements/iron-localstorage.git#^1.0.0 bower iron-image#^1.2.0 cached git://github.com/PolymerElements/iron-image.git#1.2.5 bower iron-image#^1.2.0 validate 1.2.5 against git://github.com/PolymerElements/iron-image.git#^1.2.0 bower iron-ajax#^1.4.0 cached git://github.com/PolymerElements/iron-ajax.git#1.4.3 bower iron-ajax#^1.4.0 validate 1.4.3 against git://github.com/PolymerElements/iron-ajax.git#^1.4.0 bower iron-dropdown#^1.5.0 cached git://github.com/PolymerElements/iron-dropdown.git#1.5.2 bower iron-dropdown#^1.5.0 validate 1.5.2 against git://github.com/PolymerElements/iron-dropdown.git#^1.5.0 bower iron-pages#^1.0.0 cached git://github.com/PolymerElements/iron-pages.git#1.0.8 bower iron-pages#^1.0.0 validate 1.0.8 against git://github.com/PolymerElements/iron-pages.git#^1.0.0 bower paper-icon-button#^1.1.0 cached git://github.com/PolymerElements/paper-icon-button.git#1.1.2 bower paper-icon-button#^1.1.0 validate 1.1.2 against git://github.com/PolymerElements/paper-icon-button.git#^1.1.0 bower paper-scroll-header-panel#^1.0.0 cached git://github.com/PolymerElements/paper-scroll-header-panel.git#1.0.16 bower paper-scroll-header-panel#^1.0.0 validate 1.0.16 against git://github.com/PolymerElements/paper-scroll-header-panel.git#^1.0.0 bower paper-dialog#^1.1.0 cached git://github.com/PolymerElements/paper-dialog.git#1.1.0 bower paper-dialog#^1.1.0 validate 1.1.0 against git://github.com/PolymerElements/paper-dialog.git#^1.1.0 bower paper-tabs#^1.6.0 cached git://github.com/PolymerElements/paper-tabs.git#1.6.2 bower paper-tabs#^1.6.0 validate 1.6.2 against git://github.com/PolymerElements/paper-tabs.git#^1.6.0 bower paper-toolbar#^1.1.0 cached git://github.com/PolymerElements/paper-toolbar.git#1.1.6 bower paper-toolbar#^1.1.0 validate 1.1.6 against git://github.com/PolymerElements/paper-toolbar.git#^1.1.0 bower paper-toast#^1.3.0 cached git://github.com/PolymerElements/paper-toast.git#1.3.0 bower paper-toast#^1.3.0 validate 1.3.0 against git://github.com/PolymerElements/paper-toast.git#^1.3.0 bower paper-button#^1.0.0 cached git://github.com/PolymerElements/paper-button.git#1.0.13 bower paper-button#^1.0.0 validate 1.0.13 against git://github.com/PolymerElements/paper-button.git#^1.0.0 bower paper-checkbox#^1.4.0 cached git://github.com/PolymerElements/paper-checkbox.git#1.4.1 bower paper-checkbox#^1.4.0 validate 1.4.1 against git://github.com/PolymerElements/paper-checkbox.git#^1.4.0 bower paper-input#^1.1.0 cached git://github.com/PolymerElements/paper-input.git#1.1.20 bower paper-input#^1.1.0 validate 1.1.20 against git://github.com/PolymerElements/paper-input.git#^1.1.0 bower paper-material#^1.0.0 cached git://github.com/PolymerElements/paper-material.git#1.0.6 bower paper-material#^1.0.0 validate 1.0.6 against git://github.com/PolymerElements/paper-material.git#^1.0.0 bower paper-item#^1.2.0 cached git://github.com/PolymerElements/paper-item.git#1.2.1 bower paper-item#^1.2.0 validate 1.2.1 against git://github.com/PolymerElements/paper-item.git#^1.2.0 bower paper-menu#^1.2.0 cached git://github.com/PolymerElements/paper-menu.git#1.2.2 bower paper-menu#^1.2.0 validate 1.2.2 against git://github.com/PolymerElements/paper-menu.git#^1.2.0 bower paper-tooltip#^1.1.0 cached git://github.com/PolymerElements/paper-tooltip.git#1.1.3 bower paper-tooltip#^1.1.0 validate 1.1.3 against git://github.com/PolymerElements/paper-tooltip.git#^1.1.0 bower paper-card#^1.1.0 cached git://github.com/PolymerElements/paper-card.git#1.1.3 bower paper-card#^1.1.0 validate 1.1.3 against git://github.com/PolymerElements/paper-card.git#^1.1.0 bower paper-menu-button#^1.5.0 cached git://github.com/PolymerElements/paper-menu-button.git#1.5.2 bower paper-menu-button#^1.5.0 validate 1.5.2 against git://github.com/PolymerElements/paper-menu-button.git#^1.5.0 bower paper-fab#^1.2.0 cached git://github.com/PolymerElements/paper-fab.git#1.2.1 bower paper-fab#^1.2.0 validate 1.2.1 against git://github.com/PolymerElements/paper-fab.git#^1.2.0 bower paper-dropdown-menu#^1.3.0 cached git://github.com/PolymerElements/paper-dropdown-menu.git#1.4.1 bower paper-dropdown-menu#^1.3.0 validate 1.4.1 against git://github.com/PolymerElements/paper-dropdown-menu.git#^1.3.0 bower paper-spinner#^1.2.0 cached git://github.com/PolymerElements/paper-spinner.git#1.2.1 bower paper-spinner#^1.2.0 validate 1.2.1 against git://github.com/PolymerElements/paper-spinner.git#^1.2.0 bower neon-animation#^1.2.0 cached git://github.com/PolymerElements/neon-animation.git#1.2.4 bower neon-animation#^1.2.0 validate 1.2.4 against git://github.com/PolymerElements/neon-animation.git#^1.2.0 bower google-youtube#^1.2.0 cached git://github.com/GoogleWebComponents/google-youtube.git#1.2.1 bower google-youtube#^1.2.0 validate 1.2.1 against git://github.com/GoogleWebComponents/google-youtube.git#^1.2.0 bower paper-listbox#^1.1.0 cached git://github.com/PolymerElements/paper-listbox.git#1.1.2 bower paper-listbox#^1.1.0 validate 1.1.2 against git://github.com/PolymerElements/paper-listbox.git#^1.1.0 bower marked-element#^1.1.0 cached git://github.com/PolymerElements/marked-element.git#1.2.0 bower marked-element#^1.1.0 validate 1.2.0 against git://github.com/PolymerElements/marked-element.git#^1.1.0 bower google-map#^1.1.0 cached git://github.com/GoogleWebComponents/google-map.git#1.1.13 bower google-map#^1.1.0 validate 1.1.13 against git://github.com/GoogleWebComponents/google-map.git#^1.1.0 bower polymer#^1.6.0 cached git://github.com/Polymer/polymer.git#1.7.0 bower polymer#^1.6.0 validate 1.7.0 against git://github.com/Polymer/polymer.git#^1.6.0 bower time-elements#^0.6.0 cached git://github.com/github/time-elements.git#0.6.1 bower time-elements#^0.6.0 validate 0.6.1 against git://github.com/github/time-elements.git#^0.6.0 bower web-component-tester#^4.3.0 cached git://github.com/Polymer/web-component-tester.git#4.3.5 bower web-component-tester#^4.3.0 validate 4.3.5 against git://github.com/Polymer/web-component-tester.git#^4.3.0 bower iron-iconset-svg#^1.0.0 download https://github.com/polymerelements/iron-iconset-svg/archive/v1.0.10.tar.gz bower iron-meta#^1.0.0 cached git://github.com/polymerelements/iron-meta.git#1.1.2 bower iron-meta#^1.0.0 validate 1.1.2 against git://github.com/polymerelements/iron-meta.git#^1.0.0 bower iron-location#^0.8.1 cached git://github.com/polymerelements/iron-location.git#0.8.9 bower iron-location#^0.8.1 validate 0.8.9 against git://github.com/polymerelements/iron-location.git#^0.8.1 bower iron-resizable-behavior#^1.0.0 cached git://github.com/PolymerElements/iron-resizable-behavior.git#1.0.5 bower iron-resizable-behavior#^1.0.0 validate 1.0.5 against git://github.com/PolymerElements/iron-resizable-behavior.git#^1.0.0 bower iron-scroll-target-behavior#^1.0.0 cached git://github.com/PolymerElements/iron-scroll-target-behavior.git#1.1.0 bower iron-scroll-target-behavior#^1.0.0 validate 1.1.0 against git://github.com/PolymerElements/iron-scroll-target-behavior.git#^1.0.0 bower intl-messageformat#^1.0.0 cached git://github.com/yahoo/intl-messageformat.git#1.3.0 bower intl-messageformat#^1.0.0 validate 1.3.0 against git://github.com/yahoo/intl-messageformat.git#^1.0.0 bower iron-behaviors#^1.0.0 cached git://github.com/polymerelements/iron-behaviors.git#1.0.17 bower iron-behaviors#^1.0.0 validate 1.0.17 against git://github.com/polymerelements/iron-behaviors.git#^1.0.0 bower iron-overlay-behavior#^1.8.6 cached git://github.com/polymerelements/iron-overlay-behavior.git#1.8.6 bower iron-overlay-behavior#^1.8.6 validate 1.8.6 against git://github.com/polymerelements/iron-overlay-behavior.git#^1.8.6 bower paper-behaviors#^1.0.0 cached git://github.com/PolymerElements/paper-behaviors.git#1.0.12 bower paper-behaviors#^1.0.0 validate 1.0.12 against git://github.com/PolymerElements/paper-behaviors.git#^1.0.0 bower paper-styles#^1.0.0 cached git://github.com/PolymerElements/paper-styles.git#1.1.5 bower paper-styles#^1.0.0 validate 1.1.5 against git://github.com/PolymerElements/paper-styles.git#^1.0.0 bower promise-polyfill#^1.0.0 cached git://github.com/polymerlabs/promise-polyfill.git#1.0.1 bower promise-polyfill#^1.0.0 validate 1.0.1 against git://github.com/polymerlabs/promise-polyfill.git#^1.0.0 bower paper-dialog-behavior#^1.0.0 cached git://github.com/PolymerElements/paper-dialog-behavior.git#1.2.7 bower paper-dialog-behavior#^1.0.0 validate 1.2.7 against git://github.com/PolymerElements/paper-dialog-behavior.git#^1.0.0 bower iron-menu-behavior#^1.1.0 cached git://github.com/PolymerElements/iron-menu-behavior.git#1.2.0 bower iron-menu-behavior#^1.1.0 validate 1.2.0 against git://github.com/PolymerElements/iron-menu-behavior.git#^1.1.0 bower iron-a11y-announcer#^1.0.0 cached git://github.com/PolymerElements/iron-a11y-announcer.git#1.0.5 bower iron-a11y-announcer#^1.0.0 validate 1.0.5 against git://github.com/PolymerElements/iron-a11y-announcer.git#^1.0.0 bower iron-fit-behavior#^1.1.0 cached git://github.com/PolymerElements/iron-fit-behavior.git#1.2.5 bower iron-fit-behavior#^1.1.0 validate 1.2.5 against git://github.com/PolymerElements/iron-fit-behavior.git#^1.1.0 bower iron-iconset-svg#^1.0.0 extract archive.tar.gz bower iron-iconset-svg#^1.0.0 resolved git://github.com/polymerelements/iron-iconset-svg.git#1.0.10 bower iron-checked-element-behavior#^1.0.0 cached git://github.com/PolymerElements/iron-checked-element-behavior.git#1.0.5 bower iron-checked-element-behavior#^1.0.0 validate 1.0.5 against git://github.com/PolymerElements/iron-checked-element-behavior.git#^1.0.0 bower paper-ripple#^1.0.0 cached git://github.com/PolymerElements/paper-ripple.git#1.0.10 bower paper-ripple#^1.0.0 validate 1.0.10 against git://github.com/PolymerElements/paper-ripple.git#^1.0.0 bower iron-collapse#^1.0.0 cached git://github.com/PolymerElements/iron-collapse.git#1.2.1 bower iron-collapse#^1.0.0 validate 1.2.1 against git://github.com/PolymerElements/iron-collapse.git#^1.0.0 bower iron-autogrow-textarea#^1.0.0 cached git://github.com/PolymerElements/iron-autogrow-textarea.git#1.0.14 bower iron-autogrow-textarea#^1.0.0 validate 1.0.14 against git://github.com/PolymerElements/iron-autogrow-textarea.git#^1.0.0 bower iron-form-element-behavior#^1.0.0 cached git://github.com/PolymerElements/iron-form-element-behavior.git#1.0.6 bower iron-form-element-behavior#^1.0.0 validate 1.0.6 against git://github.com/PolymerElements/iron-form-element-behavior.git#^1.0.0 bower iron-input#^1.0.0 cached git://github.com/PolymerElements/iron-input.git#1.0.10 bower iron-input#^1.0.0 validate 1.0.10 against git://github.com/PolymerElements/iron-input.git#^1.0.0 bower iron-a11y-keys-behavior#^1.0.0 cached git://github.com/PolymerElements/iron-a11y-keys-behavior.git#1.1.9 bower iron-a11y-keys-behavior#^1.0.0 validate 1.1.9 against git://github.com/PolymerElements/iron-a11y-keys-behavior.git#^1.0.0 bower iron-validatable-behavior#^1.0.0 cached git://github.com/PolymerElements/iron-validatable-behavior.git#1.1.1 bower iron-validatable-behavior#^1.0.0 validate 1.1.1 against git://github.com/PolymerElements/iron-validatable-behavior.git#^1.0.0 bower google-apis#^1.0.0 cached git://github.com/GoogleWebComponents/google-apis.git#1.1.7 bower google-apis#^1.0.0 validate 1.1.7 against git://github.com/GoogleWebComponents/google-apis.git#^1.0.0 bower web-animations-js#^2.2.0 cached git://github.com/web-animations/web-animations-js.git#2.2.2 bower web-animations-js#^2.2.0 validate 2.2.2 against git://github.com/web-animations/web-animations-js.git#^2.2.0 bower marked#~0.3.3 cached https://github.com/chjj/marked.git#0.3.6 bower marked#~0.3.3 validate 0.3.6 against https://github.com/chjj/marked.git#~0.3.3 bower test-fixture#^1.0.0 cached git://github.com/polymerelements/test-fixture.git#1.1.1 bower test-fixture#^1.0.0 validate 1.1.1 against git://github.com/polymerelements/test-fixture.git#^1.0.0 bower chai#^3.2.0 cached https://github.com/chaijs/chai.git#3.5.0 bower chai#^3.2.0 validate 3.5.0 against https://github.com/chaijs/chai.git#^3.2.0 bower sinon-chai#^2.7.0 cached https://github.com/domenic/sinon-chai.git#2.8.0 bower sinon-chai#^2.7.0 validate 2.8.0 against https://github.com/domenic/sinon-chai.git#^2.7.0 bower accessibility-developer-tools#^2.10.0 cached https://github.com/GoogleChrome/accessibility-developer-tools.git#2.11.0 bower accessibility-developer-tools#^2.10.0 validate 2.11.0 against https://github.com/GoogleChrome/accessibility-developer-tools.git#^2.10.0 bower async#^1.5.0 cached https://github.com/caolan/async.git#1.5.2 bower async#^1.5.0 validate 1.5.2 against https://github.com/caolan/async.git#^1.5.0 bower lodash#^3.7.0 cached https://github.com/lodash/lodash.git#3.10.1 bower lodash#^3.7.0 validate 3.10.1 against https://github.com/lodash/lodash.git#^3.7.0 bower sinonjs#^1.14.1 cached https://github.com/blittle/sinon.js.git#1.17.1 bower sinonjs#^1.14.1 validate 1.17.1 against https://github.com/blittle/sinon.js.git#^1.14.1 bower stacky#^1.3.0 cached https://github.com/PolymerLabs/stacky.git#1.3.2 bower stacky#^1.3.0 validate 1.3.2 against https://github.com/PolymerLabs/stacky.git#^1.3.0 bower mocha#^2.3.0 cached https://github.com/mochajs/mocha.git#2.5.3 bower mocha#^2.3.0 validate 2.5.3 against https://github.com/mochajs/mocha.git#^2.3.0 bower webcomponentsjs#^0.7.20 cached https://github.com/Polymer/webcomponentsjs.git#0.7.22 bower webcomponentsjs#^0.7.20 validate 0.7.22 against https://github.com/Polymer/webcomponentsjs.git#^0.7.20 bower font-roboto#^1.0.1 cached git://github.com/PolymerElements/font-roboto.git#1.0.1 bower font-roboto#^1.0.1 validate 1.0.1 against git://github.com/PolymerElements/font-roboto.git#^1.0.1 bower iron-jsonp-library#^1.0.0 cached git://github.com/PolymerElements/iron-jsonp-library.git#1.0.4 bower iron-jsonp-library#^1.0.0 validate 1.0.4 against git://github.com/PolymerElements/iron-jsonp-library.git#^1.0.0 bower iron-iconset-svg#^1.0.0 install iron-iconset-svg#1.0.10

iron-iconset-svg#1.0.10 bower_components\iron-iconset-svg ├── iron-meta#1.1.2 └── polymer#1.7.0

MrCsabaToth commented 8 years ago

Upgrading polymer cli:

npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. npm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead. npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue C:\Users\Admin\AppData\Roaming\npm\polymer -> C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\bin\polymer.js

sauce-connect-launcher@0.16.0 postinstall C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\sauce-connect-launcher node scripts/install.js || nodejs scripts/install.js

wct-sauce@1.8.5 postinstall C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\wct-sauce node scripts/postinstall.js

Prefetching the Sauce Connect binary. Missing Sauce Connect local proxy, downloading dependency This will only happen once. Downloading 3.86MB Unzipping sc-4.4.0-win32.zip Removing sc-4.4.0-win32.zip Sauce Connect downloaded correctly Removing C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\sauce-connect-launcher\sc\sc-4.3.16-win32.zip

C:\Users\Admin\AppData\Roaming\npm -- polymer-cli@0.16.0 +-- dom5@1.3.6 |-- @types/parse5@0.0.31 | -- @types/node@6.0.43 +-- gunzip-maybe@1.3.1 |-- peek-stream@1.1.1 | -- through2@0.5.1 |-- readable-stream@1.0.34 | -- isarray@0.0.1 +-- html-minifier@3.1.0 | +-- change-case@3.0.0 | | +-- camel-case@3.0.0 | | +-- constant-case@2.0.0 | | +-- dot-case@2.1.0 | | +-- header-case@1.0.0 | | +-- no-case@2.3.0 | | +-- param-case@2.1.0 | | +-- pascal-case@2.0.0 | | +-- path-case@2.1.0 | | +-- sentence-case@2.1.0 | | +-- snake-case@2.1.0 | |-- title-case@2.1.0 | -- he@1.1.0 +-- inquirer@1.2.1 |-- lodash@4.16.3 +-- merge-stream@1.0.0 | -- readable-stream@2.1.5 |-- isarray@1.0.0 +-- multipipe@0.3.1 | -- duplexer2@0.1.4 +-- polylint@2.10.1 | +-- hydrolysis@1.24.1 | |-- doctrine@0.7.2 | | -- isarray@0.0.1 |-- optimist@0.6.1 | -- minimist@0.0.10 +-- polymer-build@0.4.1 | +-- gulp@3.9.1 | | +-- gulp-util@3.0.7 | | | +-- minimist@1.2.0 | | | +-- multipipe@0.1.2 | | | |-- duplexer2@0.0.2 | | | | -- readable-stream@1.1.14 | | | |-- isarray@0.0.1 | | | -- object-assign@3.0.0 | | +-- liftoff@2.3.0 | | |-- fined@1.0.2 | | +-- minimist@1.2.0 | | +-- orchestrator@0.3.7 | | | -- end-of-stream@0.1.5 | |-- vinyl-fs@0.3.14 | | +-- glob-stream@3.1.18 | | | -- through2@0.6.5 | | |-- readable-stream@1.0.34 | | | -- isarray@0.0.1 | | +-- glob-watcher@0.0.6 | | |-- gaze@0.5.2 | | | -- globule@0.1.0 | | |-- lodash@1.0.2 | | -- through2@0.6.5 | |-- readable-stream@1.0.34 | | -- isarray@0.0.1 |-- sw-precache@3.2.0 | +-- lodash.defaults@4.2.0 | +-- meow@3.7.0 | | +-- camelcase-keys@2.1.0 | | | -- camelcase@2.1.1 | | +-- minimist@1.2.0 | |-- normalize-package-data@2.3.5 | | -- validate-npm-package-license@3.0.1 | |-- spdx-expression-parse@1.0.4 | -- sw-toolbox@3.3.0 |-- path-to-regexp@1.6.0 | -- isarray@0.0.1 +-- polyserve@0.12.0 |-- express@4.14.0 | -- path-to-regexp@0.1.7 +-- tar-fs@1.13.2 |-- tar-stream@1.5.2 | -- end-of-stream@1.0.0 +-- uglify-js@2.7.3 |-- yargs@3.10.0 | -- camelcase@1.2.1 +-- update-notifier@1.0.2 | +-- boxen@0.6.0 | |-- camelcase@2.1.1 | -- latest-version@2.0.0 |-- package-json@2.4.0 | -- registry-auth-token@3.0.1 |-- rc@1.1.6 | -- minimist@1.2.0 +-- vinyl-fs@2.4.3 | +-- glob-stream@5.3.5 | |-- through2@0.6.5 | | -- readable-stream@1.0.34 | |-- isarray@0.0.1 | -- object-assign@4.1.0 +-- web-component-tester@4.3.4 | +-- multer@1.2.0 | | +-- busboy@0.2.13 | | | +-- dicer@0.2.5 | | | |-- readable-stream@1.1.14 | | | | -- isarray@0.0.1 | | |-- readable-stream@1.1.14 | | | -- isarray@0.0.1 | |-- object-assign@3.0.0 | +-- promisify-node@0.4.0 | | -- nodegit-promise@4.0.0 | |-- asap@2.0.5 | +-- socket.io@1.4.8 | | +-- engine.io@1.6.11 | | | -- engine.io-parser@1.2.4 | | |-- has-binary@0.1.6 | | | -- isarray@0.0.1 | | +-- has-binary@0.1.7 | | |-- isarray@0.0.1 | | +-- socket.io-adapter@0.4.0 | | | -- socket.io-parser@2.2.2 | | |-- isarray@0.0.1 | | -- socket.io-parser@2.2.6 | |-- isarray@0.0.1 | +-- test-fixture@1.1.1 (git://github.com/polymerelements/test-fixture.git#05514d6f32ade6fe54de5b242bbb43ea9dcff3c0) | +-- update-notifier@0.6.3 | | -- boxen@0.3.1 | +-- wct-local@2.0.11 | | +-- @types/express@4.0.33 | | |-- @types/express-serve-static-core@4.0.37 | | +-- @types/node@6.0.43 | | -- selenium-standalone@5.7.2 | |-- request@2.51.0 | | -- bl@0.9.5 | |-- readable-stream@1.0.34 | | -- isarray@0.0.1 | +-- wct-sauce@1.8.5 | |-- sauce-connect-launcher@0.16.0 | -- wd@0.3.12 | +-- archiver@0.14.4 | | +-- readable-stream@1.0.34 | | |-- isarray@0.0.1 | | -- zip-stream@0.5.2 | | +-- compress-commons@0.2.9 | | | +-- crc32-stream@0.3.4 | | | |-- readable-stream@1.0.34 | | | | -- isarray@0.0.1 | | |-- readable-stream@1.0.34 | | | -- isarray@0.0.1 | |-- readable-stream@1.0.34 | | -- isarray@0.0.1 |-- request@2.55.0 | -- bl@0.9.5 |-- readable-stream@1.0.34 | -- isarray@0.0.1 -- yeoman-generator@0.23.4 +-- download@4.4.3 | +-- caw@1.2.0 | | -- object-assign@3.0.0 |-- gulp-decompress@1.2.0 | -- decompress@3.0.0 | +-- decompress-tar@3.1.0 | | +-- strip-dirs@1.1.1 | | |-- minimist@1.2.0 | | -- through2@0.6.5 | |-- readable-stream@1.0.34 | | -- isarray@0.0.1 | +-- decompress-tarbz2@3.1.0 | |-- through2@0.6.5 | | -- readable-stream@1.0.34 | |-- isarray@0.0.1 | -- decompress-targz@3.1.0 |-- through2@0.6.5 | -- readable-stream@1.0.34 |-- isarray@0.0.1 -- html-wiring@1.2.0 +-- cheerio@0.19.0 | +-- css-select@1.0.0 | |-- domutils@1.4.3 | -- htmlparser2@3.8.3 | +-- domutils@1.5.1 |-- readable-stream@1.1.14 | -- isarray@0.0.1 -- detect-newline@1.0.3 `-- minimist@1.2.0

ozasadnyy commented 8 years ago

@MrCsabaToth As I told you before, the first error is okay. It's because of data for schema.org.

`polymer build` ``` info: Building application... warn: Unable to optimize .js file C:\Users\Admin\Documents\GitRepos\valleydevfest\index.html_script_1.js { err: { message: 'SyntaxError: Unexpected token: punc (:)', filename: 0, line: 3, col: 16, pos: 23, stack: 'Error\n at new JS_Parse_Error (eval at (C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\uglify-js\tools\node.js:28:1), :1545:18)\n at js_error (eval at (C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\uglify-js\tools\node.js:28:1), :1553:11)\n at croak (eval at (C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\uglify-js\tools\node.js:28:1), :2092:9)\n at token_error (eval at (C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\uglify-js\tools\node.js:28:1), :2100:9)\n at unexpected (eval at (C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\uglify-js\tools\node.js:28:1), :2106:9)\n at semicolon (eval at (C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\uglify-js\tools\node.js:28:1), :2126:56)\n at simple_statement (eval at (C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\uglify-js\tools\node.js:28:1), :2317:73)\n at eval (eval at (C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\uglify-js\tools\node.js:28:1), :2167:47)\n at eval (eval at (C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\uglify-js\tools\node.js:28:1), :2139:24)\n at block_ (eval at (C:\Users\Admin\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\uglify-js\tools\node.js:28:1), :2432:20)' } } info: Generating build/unbundled... info: Generating build/bundled... info: Build complete! ```

P.S. Consider using <details> for long logs :)

<details>
  <summary>Click to expand</summary>
  whatever
</details>