Jump to content
Search Community

Nextjs and club GSAP persistent "Module not found"

John Wheeler test
Moderator Tag

Go to solution Solved by Cassie,

Recommended Posts

I don't have a repro since it's a framework specific issue, but does anyone have any up to date info about integrating club GSAP plugins with Nextjs? I just upgraded to Club GSAP (yay!!), but I'm encountering a seemingly common "Module not found" issue.

I'm using Next v14.2.4

I have consulted almost every thread about Next and "module not found".

I have tried UMD and ESM imports, clearing my next cache, forcing the removed node_modules and resetting my packages to try a clean install using the "npm install gsap@npm:@gsap/simply". I even tried in a brand new next repo where I never installed gsap-trial. I have dropped my token directly into my npmrc, and also tried abstracting it into a .env. I've attempted with and without the "require" syntax, and nothing seems to solve this pesky "Module not found" error when I try to import SplitText (or any club plugins).

When I moved to the brand new Nextjs project, I followed the install helper for npm step by step. I'm considering just using a tarball, but this is a personal project that I'd like to consistently update, so the private npm would be more appropriate.

I know the screenshot isn't that helpful, but that's pretty much all I've got right now. Basically just hoping someone has encountered and solved the same issue.

As a note, this is NOT a Vercel issue. Haven't even gotten that far yet, this is purely a local dev problem.

Still stoked on GSAP and glad to have joined to gain access to these new club plugins :)

Screenshot 2024-07-16 at 5.20.25 PM.png

Link to comment
Share on other sites

  • Solution

Heya! Welcome to the club and thanks so much for supporting us! It's people like you who make it all possible. 💚

That being said, unfortunately it looks like you signed up for the tier below the one with SplitText. You're currently Plus, SplitText is a Premium tier plugin.

 

You can upgrade at any time from the pricing page, I can swing you a discount code too... Sliding into your DM's right now 

https://gsap.com/pricing/

 

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