Skip to content

Instantly share code, notes, and snippets.

@mercmobily
Created October 28, 2016 03:32
Show Gist options
  • Save mercmobily/4b20d70939e3cdfe1fee5a6140601b49 to your computer and use it in GitHub Desktop.
Save mercmobily/4b20d70939e3cdfe1fee5a6140601b49 to your computer and use it in GitHub Desktop.
Trying to run polymer-cli with polymer-build branch print-analysis-warning
merc@mercs-thinkpad:~/Development/playground/psk-test$ polymer build
warn: "sourceGlobs" config option has been renamed to "sources" and will no longer be supported in future versions
warn: "includeDependencies" config option has been renamed to "extraDependencies" and will no longer be supported in future versions
info: Building application...
error: cli runtime exception: TypeError: Can't call method on undefined
error: TypeError: Can't call method on undefined
at TypeError (native)
at module.exports (/disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build/node_modules/hydrolysis/node_modules/babel-polyfill/node_modules/core-js/modules/_defined.js:3:28)
at module.exports (/disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build/node_modules/hydrolysis/node_modules/babel-polyfill/node_modules/core-js/modules/_to-object.js:4:17)
at Function.from (/disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build/node_modules/hydrolysis/node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.from.js:14:19)
at new PrefetchTransform (/disk/local/lib/node_modules/polymer-cli/lib/build/prefetch.js:46:35)
at /disk/local/lib/node_modules/polymer-cli/lib/build/build.js:62:57
at new Promise (/disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build/node_modules/hydrolysis/node_modules/babel-polyfill/node_modules/core-js/modules/es6.promise.js:191:7)
at build (/disk/local/lib/node_modules/polymer-cli/lib/build/build.js:23:12)
at BuildCommand.run (/disk/local/lib/node_modules/polymer-cli/lib/commands/build.js:59:16)
at PolymerCli.run (/disk/local/lib/node_modules/polymer-cli/lib/polymer-cli.js:154:24)
merc@mercs-thinkpad:~/Development/playground/psk-test$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment