Hi,
I'm using the GSAP bonus module on Netlify with yarn but the authentication is not working properly.
Response during install: \"403 Forbidden\"".
The token is setup via environment variable on Netlify.
When I switched from yarn to npm it suddenly worked as expected.
Are there any special requirements when using yarn ?
Best regards,
a GSAP Fan
Hi,
Just want to share how I managed to deploy GSAP Shockingly to Vercel using yarn. Steps below:
1. Create a .npmrc file on your project directory that contains the following:
//registry.npmjs.org/
@gsap:registry=https://npm.greensock.com
//npm.greensock.com/:_authToken={YOUR_GENERATED_TOKEN_HERE}
2. Update your package.json file and add the GSAP dependency below then run yarn install
"@gsap/shockingly": "npm@gsap/shockingly"
The package has to be installed