jdawg Posted January 9 Posted January 9 Hey! I followed all of the instructions on the GSAP Vercel guide, yet during the build I'm receiving: `Can't resolve 'gsap/SplitText'` Oddly enough when I build locally, it does work. Furthermore, I've tried the suggestion of changing the command install to `npm install && npm install gsap@npm:@gsap` in Vercel As well as their updated recommendation on NPM_RC here: https://vercel.com/guides/using-private-dependencies-with-vercel#other-package-registries Anyone bumping into this same issue? I am a club GSAP Business Member.
Rodrigo Posted January 9 Posted January 9 Hi @jdawg and welcome to the GSAP Forums! I just created a new React project in my local environment and deployed to Vercel without any issues using the bonus plugins. Did you created your environmental variable in your Vercel dashboard as mentioned here? https://gsap.com/docs/v3/Installation/guides/Vercel What type of framework are you using: React, Next, Remix, Astro or another? That also could be relevant. Another option could be to delete your package-lock.json file, push to your repo and try deploying again. 1
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