Jump to content
Search Community

ScrollTrigger not (yet) included in tarball?

Robbert89 test
Moderator Tag

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 comment
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 comment
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 comment
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.
×
×
  • Create New...