deploymentbuildpolymerpolymer-1.0polymer-cli

How to workaround a polymer project build when google-chart is in use?


If in polymer project I add google-chart:
<link rel="import" href="../bower_components/google-chart/google-chart.html">
and trying to polymer build, then I'm getting following error messages:
error: Promise rejection: Error: no resolver found for https://www.gstatic.com/charts/loader.js

Looks like it is due to https://github.com/Polymer/polymer-cli/issues/261 issue.

Question is: how can I workaround this problem and successfully build project to deploy it to the web hosting?


Solution

  • It was already resolved. Update your polymer cli will do.

    https://github.com/Polymer/polymer-cli/issues/261