Jump to content

Search In
  • More options...
Find results that contain...
Find results in...

Depoloyed site - Invalid property Missing plugin? gsap.registerPlugin()

Recommended Posts

Hello, I just deployed my site via Netlify and all my animations (used TweenMax & TimelineLite) are not displayed at all. In the dev tool I can see: gsap-core.js:83 Invalid property set to  Missing plugin? gsap.registerPlugin() errors. This is the first time I am using gsap and deploying a site with it and I'm new to coding, so any clear advice on what's happening would be great. Thank you in advance. 

Link to post
Share on other sites

Hi @monixm,


It looks like you are using the old GSAP 2 syntax, but are importing the GSAP 3 javascript. I'd check your package.json file to make sure netlify knows which version of GSAP to import, or convert your code to the new GSAP 3 syntax (GSAP 3 is a much smaller file size!).

  • Like 2
Link to post
Share on other sites

You are the best, thank you for this tip, it worked :) yupppiiii

Link to post
Share on other sites

For reference, you can still use the GSAP 2 syntax if you'd like, you just have to make sure that it's not tree shaken by registering the parts. Our Install Helper can help you get all the registering you need.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.