Jump to content
GreenSock

oskar råhlén

Module not found - ScrollSmoother

Recommended Posts

I just became Green Club Member and I'm trying to install ScrollSmoother. 

I've installed GSAP using the "gsap-business-green.zip" as instructed. But when i add ScrollSmoother to my Next project, i get "Module not found". 

1485663867_Skarmavbild2022-05-05kl_09_14_33.png.fd767c3ce3534c0e480456c9e2c41a84.png2058813174_Skarmavbild2022-05-05kl_09_14_40.thumb.png.f766e6089d700e6016d96d12d51b1338.png2005174345_Skarmavbild2022-05-05kl_09_14_53.png.87eb6f2be13606438d85e8d6e3aa3eb0.png

 

any suggestions to what I'm doing wrong? 

Link to comment
Share on other sites

Welcome to the forums @oskar råhlén

 

It doesn't look like you have installed correctly as all of the bonus plugins are missing from your screenshot. Maybe you have an older version cached.

 

 

And you'll need to import every plugin from the dist folder in next.js for the time being.

 

  • Thanks 1
Link to comment
Share on other sites

"yarn cache clean" did it, thanks a lot!  

 

  • 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.
×