CMS Development

josephLayden
Contributor

HS loads js src twice, causing error due to duplicate values

SOLVE

I am adding script to the Content Settings Blog page.  Style in the header, script in the footer.  No other template or page has the script or style.  Script loads twice at the end of the body, causing error "multiple babel polyfill"

Screen Shot 2018-02-12 at 12.17.45 PM.png

 

0 Upvotes
1 Accepted solution
josephLayden
Solution
Contributor

HS loads js src twice, causing error due to duplicate values

SOLVE

@roisinkirby I moved all of the file calls to the template level and no longer receive the error.  I did contact HubSpot however my timeline was limited.  Thanks!

View solution in original post

0 Upvotes
2 Replies 2
roisinkirby
HubSpot Product Team
HubSpot Product Team

HS loads js src twice, causing error due to duplicate values

SOLVE

Hey @josephLayden are you still experiencing this error? I would reccommend calling into HubSPot Support to see if they can reproduce and troubleshoot with you. 

0 Upvotes
josephLayden
Solution
Contributor

HS loads js src twice, causing error due to duplicate values

SOLVE

@roisinkirby I moved all of the file calls to the template level and no longer receive the error.  I did contact HubSpot however my timeline was limited.  Thanks!

0 Upvotes