Jump to content
Search Community

Unable to deploy my Next.js app with Greensock Business included.

artvera test
Moderator Tag

Go to solution Solved by Rodrigo,

Recommended Posts

Very sorry, @artvera. I'm not at all familiar with Vercel or Next.js but I know for sure that GSAP works with them. Gosh I wish I had a silver bullet to offer. I'll ping @Prasanna who is our resident expert on all things with private repos. So none of the information in those threads helped? It seemed like folks got it working by the end of the thread and offered advice. Did you make sure you used your token? 

Link to comment
Share on other sites

  • Solution

Hi @artvera,

 

Sorry about the issues. After a few trial and error deployments I managed to successfully deploy a NextJS app into Vercel using the Shockingly package (you are a business member, but the files in both packages are the same).

 

Here is how the .npmrc file looks like:

always-auth=true
@gsap:registry=https://npm.greensock.com
//npm.greensock.com/:_authToken=${NPM_TOKEN}

Here is the repo just in case:

https://github.com/rhernandog/gsap-bonus-npm-vercel

 

And here is the live site, the console is logging the MorphSVG plugin Object:

https://gsap-bonus-npm-vercel.vercel.app/

 

Hopefully this  helps.

Happy Tweening!

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