Jump to content
Search Community

Jung von Matt NECKAR

Premium
  • Posts

    9
  • Joined

  • Last visited

Posts posted by Jung von Matt NECKAR

  1. On 2/21/2021 at 1:04 AM, nestorbonilla said:

    Hello group,

     

    Ok, I found a different approach that worked for me:

    1. Download the gsap zip file from https://greensock.com/docs/v3/Installation, unzip the file and move gsap-bonus.tgz to the root of your project.
    2. In your package.json file replace gsap by "gsap": "./gsap-bonus.tgz"
    3. Verify your .gitignore doesn't have tgz files.
    4. Add a Netlify environment variable called YARN_FLAGS with the value --skip-integrity-check
    5. Clean cache and deploy.
    6. Ready.

    I hope this to be helpful.

    this is working for me as well, but this way its not so easy to update to the latest version.

  2. I tried it again several times with your instructions. Locally everything works but not on Netlify.

    error An unexpected error occurred: "https://npm.greensock.com/@gsap%2fshockingly/-/shockingly-3.6.0.tgz: Request failed \"403 Forbidden\"".

    Also tried a different Yarn version (v1.13.0) without success. Then created the .npmrc file by using a preinstall script. Same error stays.

    I cleaned Netlify build cache serveral times during my attempts.

    For now I give up. I'm pretty sure there's something going wrong inside the Netlify build container.

     

    Cheers

  3. yes, I followed the support guide and setup the token as environment variable. I created the .npmrc file by hand.

    Like I said with NPM it worked this way, so I guess it must be a configuration problem with Yarn. (Eventually I will try a preinstall script)

    In the end not really a GSAP problem, but I thought maybe someone else already solved this 🙂

     

  4. Yarn worked locally but not on Netlify, so I tried NPM as alternative and that worked. 

    The full error I got was:

    1:39:47 PM: error An unexpected error occurred: "https://npm.greensock.com/@gsap%2fshockingly/-/shockingly-3.6.0.tgz: Request failed \"403 Forbidden\"".

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

     

×
×
  • Create New...