Dean Draper
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Dean Draper
-
-
I am attempting to deploy to Vercel with Club Greensock packages, and I am receiving the following error:
[13:52:29.305] Running build in Cleveland, USA (East) – cle1
[13:52:29.368] Cloning github.com/dwaynedraper/bed-and-barkfest (Branch: master, Commit: f46ce8d)
[13:52:31.871] Cloning completed: 2.503s
[13:52:33.115] Restored build cache
[13:52:33.146] Running "vercel build"
[13:52:33.652] Vercel CLI 29.3.6
[13:52:33.906] Installing dependencies...
[13:52:35.952] npm ERR! code E403
[13:52:35.954] npm ERR! 403 403 Forbidden - GET https://npm.greensock.com/@gsap%2fshockingly/-/shockingly-3.11.5.tgz - bad authorization header. Please login again
[13:52:35.954] npm ERR! 403 In most cases, you or one of your dependencies are requesting
[13:52:35.954] npm ERR! 403 a package version that is forbidden by your security policy, or
[13:52:35.954] npm ERR! 403 on a server you do not have access to.
[13:52:35.954]
[13:52:35.954] npm ERR! A complete log of this run can be found in:
[13:52:35.955] npm ERR! /vercel/.npm/_logs/2023-05-29T18_52_34_276Z-debug-0.log
[13:52:35.972] Error: Command "npm install" exited with 1
[13:52:36.114] BUILD_UTILS_SPAWN_1: Command "npm install" exited with 1
I have added my NPM_TOKEN to vercel. What else do I need to do? -
That looks perfect. Thank you so much!
- 1
-
I like the sound of that. How do I reverse afterwards? Sorry, I'm a total noob with all of this. I used it once during school, and I'm just now picking it up again in anticipation of a client who wants GSAP work.
-
If I'm doing something like using gsap to animate a box shadow on hover, is there a way to record the original value of the box shadow before changing things so that I can revert back to what was there before? I am using a hover effect on a page where 3 different items should have hover effects, and I don't want to have to write a custom function for each one's reversion. It would be nice to capture that state in a variable, and just revert.
What is the simplest way to deploy to Vercel when I'm using Club Greensock?
in GSAP
Posted
Oh wow, that's so much simpler than anything I was trying to do. I changed my .npmrc to that and added my Greensock Club token as NPM_TOKEN at the env var section of Vercel, and that's that. Thank you so much!