Share Posted November 4, 2021 Hi, I just started with GSAP and yesterday I upgraded my account and reinstalled GSAP but also when using gsap.registerPlugin (ScrollTrigger); I get the following error: Quote ReferenceError: ScrollTrigger is not defined Link to comment Share on other sites More sharing options...
Share Posted November 4, 2021 Hey @raana, Have you included scrollTrigger? Here's an installation guide - happy to provide pointers if you can give me more information about your project setup.https://greensock.com/docs/v3/Installation Link to comment Share on other sites More sharing options...
Author Share Posted November 4, 2021 I had previously installed with npm install gsap but today I downloaded GSAP 3 with Shockingly Green bonus files (3.8.0) from my dashboard and installed it with npm install ./gsap-bonus.tgz than I try to run npm install gsap@npm:@gsap/shockingly . Do I have to install libraries separately? COPY TO CLIPBOARD 1 hour ago, Cassie said: Hey @raana, Have you included scrollTrigger? Here's an installation guide - happy to provide pointers if you can give me more information about your project setup.https://greensock.com/docs/v3/Installation Link to comment Share on other sites More sharing options...
Solution Solution Share Posted November 4, 2021 7 minutes ago, raana said: and installed it with npm install ./gsap-bonus.tgz than I try to run npm install gsap@npm:@gsap/shockingly . Those are 2 different installation methods. You can't do both. Please watch this video... 4 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now