Jump to content
GreenSock

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

ScrollTrigger not (yet) included in tarball?

Recommended Posts

Hi all,

Couldnt find any info on it yet but when i install gsap with bonus files via:

yarn add ./gsap-bonus.tgz

The node_modules folder indeed gets all the files but it seems ScrollTrigger plugin is missing...
Can you reproduce and confirm this?

Link to post
Share on other sites

I just ran a test and it works as expected. Sounds like an issue with your environment(?) Perhaps try running: 

yarn cache clean

I'd also remove the node_modules/gsap folder, remove the gsap entry in your package.json, and try running the yarn add ./gsap-bonus.tgz again. Please let us know if that works for ya. 

  • Like 2
Link to post
Share on other sites

Make sure you're loading version 3.3.3.

  • Thanks 1
Link to post
Share on other sites

Thank you both for helping me :) 
Running: 

yarn cache clean

indeed solved the problem, appreciatie it! Never knew this could be an issue when running .tgz from my local machine. But thinking about it, it makes sense since yarn stores every package in a global cache. Thanks for helping me out!

Happy ScrollTriggering 😍 man... i love it!

  • Like 1
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.

×