Jump to content
Search Community

Cannot use @gsap/react package

Sujan test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

I was trying to implement gsap with react and while researching stumbled upon @gsap/react library. but while using it to install from "pnpm" i couldn't install the library.
Also while checking on npm js , https://www.npmjs.com/package/@gsap/react the package github is not available and says @gsap/react is not in the npm registry, or you have no permission to fetch it. 

Tutorial i was following is here, https://stackblitz.com/edit/react-edsxap?file=src%2FApp.js,src%2Findex.js,package.json.

could someone help me out here?

Link to comment
Share on other sites

  • Solution

We hadn't officially announced the package yet, so the Github repo was still private but I just set it to public so you should be able to get to that now. 

 

I'm not familiar with pnpm or why it might be giving you problems. What error are you getting exactly? 

 

The minimal demo you provided is working fine, right? Are you just saying if you try doing something locally on your system it's not able to get the @gsap/react package? 

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