polymer-starter-kit icon indicating copy to clipboard operation
polymer-starter-kit copied to clipboard

broken html generated when running gulp with firebase-auth

Open rbeers opened this issue 11 years ago • 3 comments

When running gulp serve:dist, I am getting a broken page when I add firebase-auth to elements.html. Running gulp:serve displays the page fine.

Steps to reproduce.

  • fresh clone PSK, npm install, bower install
  • add firebase element
bower install GoogleWebComponents/firebase-element --save
  • add firebase-auth to elements.html
<link rel="import" href="../bower_components/firebase-element/firebase-auth.html">
  • run gulp
gulp serve:dist
  • output screen shot 2015-08-28 at 2 14 38 am

My Environment

  • npm: 2.10.1
  • node: v0.12.4

rbeers avatar Aug 28 '15 06:08 rbeers

Update: setting inlineScripts: false in vulcanize fixed the problem

rbeers avatar Aug 28 '15 06:08 rbeers

Thanks for commenting back about the solution. I'm a little surprised this was causing breakage. Were you using PSK 1.0.3 or the version in master? Either way it looks like it's worth filing this issue upstream with Vulcanize, especially if there's a reproducible test case or code-samples you can share.

https://github.com/polymer/vulcanize

addyosmani avatar Aug 28 '15 09:08 addyosmani

I was using the version in master with no additional mods other than the steps above.

rbeers avatar Aug 28 '15 09:08 rbeers