Jump to content
Search Community

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

artvera
Moderator Tag

Go to solution Solved by Rodrigo,

Recommended Posts

Posted

Hello, I am unable to deploy my Nextjs app with Vercel. I keep getting the error that I attached in the email. I tried following the instructions provided by Greensock, but to no avail. Has anyone encountered this problem before? Thank you in advance.

Capture d’écran 2023-04-28 à 14.38.05.png

Posted

Sorry to hear about the trouble, @artvera. Have you tried the steps mentioned here?: 

Or here?

 

Posted

@GreenSock Nothing works, I still have the same error. I don't understand why it's so complex. I'm going to try with Locomotive Scroll or Framer Motion, I don't have time to dwell on this problem, I have to deploy this site quickly.

 

Thank you anyway

GreenSock
Posted

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? 

Posted

Thank you very much, I just found an interesting solution that works using the .tgz folder while waiting for a better solution. In case it can help someone:

 

  • Thanks 1
  • Solution
Posted

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
Posted

@Rodrigo @GreenSock Thank you very much for your responsiveness, my website is now online and everything is working perfectly. @Rodrigo Your solution works perfectly well.

  • Like 1

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