Jump to content
Search Community

Dean Draper

Premium
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Dean Draper

  1. 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?

  2. 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.

×
×
  • Create New...