Share Posted December 12, 2022 I can't seem to figure out how to install GSAP's private modules on Netlify. I've followed the CI instructions as given in the dashboard and on Netlify's site. I want to avoid using the .tgz file as this is a public repository. I encounter the 403 Forbidden - GET https://npm.greensock.com/@gsap%2fshockingly - bad authorization header. Please login again error every time I try to install locally or when I push code to Netlify. My .npmrc file is as written, with an accompanying local .env file and a environment variable set-up on Netlify: engine-strict=true //npm.greensock.com/:_authToken=${GSAP} @gsap:registry=https://npm.greensock.com/ Link to comment Share on other sites More sharing options...
Solution Author Solution Share Posted December 12, 2022 Of course I have answered my own question. I added GSAP=xxxxto my machine's .zshrc file, restarted the shell, and it all worked fine. It also seemed to fix my error on Netlify, though I'm not sure how that was the solve. Link to comment Share on other sites More sharing options...
Share Posted December 12, 2022 Thanks for letting us know you solved it, @sawyerclick 🙌 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