Jump to content
Search Community

Module not found: Error: Can't resolve 'gsap/InertiaPlugin'

lucrampro test
Moderator Tag

Recommended Posts

Hi all !!

 

im sorry but i dont know why i have this error Module not found: Error: Can't resolve 'gsap/InertiaPlugin

 

// ...

import { gsap } from "gsap";
import { Draggable } from "gsap/Draggable";
import { InertiaPlugin } from "gsap/InertiaPlugin";


gsap.registerPlugin( Draggable, InertiaPlugin);

// ...

Please explain to me  for why i have this error knowing whats i have run this npm install --save gsap/InertiaPlugin  

 

thanks advance :)

Link to comment
Share on other sites

Hey lucrampro.

 

The InertiaPlugin is one of the many premium Club GreenSock plugins. So unless you have access to a Club GreenSock membership then it won't be available to you. Usually people find that a membership pays for itself in a matter of days!

 

Once you have access to a Club GreenSock membership you can install the Club plugins via a .tgz file in the ZIP download or via the GreenSock private registry. Both methods are covered in the GSAP installation docs.

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