BenjaminO Posted October 15, 2023 Share Posted October 15, 2023 Hello folks, My question is : How can I continue to use GSAP premiums plugins after token expiration ? I was using GSAP premium plugins for a website. To do so, I used a .npmrc file with this content : always-auth=true //npm.greensock.com/:_authToken=${NPM_GREENSOCK_TOKEN} @gsap:registry=https://npm.greensock.com My NPM_GREENSOCK_TOKEN is now expired but I still need to use these plugins to maintain the website alive. Unfortunately, when updating the website and deploynig it to netlify, the website is broken. The problem is coming from GSAP installation : when doing a npm install, I get the following error : npm ERR! code E403 npm ERR! 403 403 Forbidden - GET https://npm.greensock.com/@gsap%2fshockingly - bad authorization header. Please login again npm ERR! 403 In most cases, you or one of your dependencies are requesting npm ERR! 403 a package version that is forbidden by your security policy, or npm ERR! 403 on a server you do not have access to. I didn't change the GSAP version since the token is expired : 3.11.5. Link to comment Share on other sites More sharing options...
GreenSock Posted October 15, 2023 Share Posted October 15, 2023 Howdy, @BenjaminO. If you want continued access to the bonus plugins and the private repository, you need to have an active membership. But you could certainly just use the downloaded zip which contains a gsap-bonus.tgz file that's easy to npm install. It acts just like you did a normal npm install from a repo, but it's a simple file instead. That way, there's no dependency on the private repository. So using it that way would allow you to keep leveraging those bonus plugins without an active membership. Or of course you could use the raw files loaded via a <script> tag. Lots of options. The plugins themselves won't suddenly stop working when your membership expires - you just lose access to updates and the private repository and other membership benefits. Thanks for being a Club GSAP member in the past! 💚 1 Link to comment Share on other sites More sharing options...
BenjaminO Posted October 15, 2023 Author Share Posted October 15, 2023 Hello @GreenSock and thanks for your response. Do you know where I can download the gsap-bonus.tgz file ? I am a bit lost with the new website design (great work btw, it's gorgeous !) and I can't find it in my user settings section. 1 Link to comment Share on other sites More sharing options...
GreenSock Posted October 15, 2023 Share Posted October 15, 2023 Sorry about that - I wasn't very clear. Once your membership expires, you lose access to those bonus downloads but I went ahead and direct messaged you a zip with the old files from when you were a Club GSAP member. I hope that helps! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now