rhjamie Posted January 5 Posted January 5 I'm getting the following error when trying to install GSAP via NPM: npm ERR! network request to https://npm.greensock.com/@gsap%2fshockingly/-/shockingly-3.12.7.tgz failed, reason: connect ETIMEDOUT 104.131.8.206:443 This happens when i'm running a build pipeline. The pipelines were working ok at the end of last year. Has something changed over the last few days that would cause this issue? My package.json file has '"gsap": "npm:@gsap/shockingly@^3.12.7"', but switching that to '"gsap": "^3.14.2"' has resolved the issue. Am I right to assume i'll need to change this in all over my repos for it to continue working? Cheers
Rodrigo Posted January 5 Posted January 5 3 hours ago, rhjamie said: The pipelines were working ok at the end of last year. Has something changed over the last few days that would cause this issue? Not that I'm aware of, everything is pretty much the same. But the hosting for the private repo reached an end-of-life midway through last year, a few months after GSAP became 100% free, so it makes perfect sense that is not working right now. I would strongly recommend you to upgrade to the latest version, besides solving the installation problem and the need for the the private token, the latest version of GSAP is always the best alternative since it solves some issues as well as include some improvements and new features: https://gsap.com/resources/private-repo-migration/ Hopefully this helps Happy Tweening!
tolchai Posted January 8 Posted January 8 Hi, had the same issue - be sure to remove .npmrc file from the project root (or your user folder for development builds) and then reinstall the gsap package. 1
Rodrigo Posted January 8 Posted January 8 Thanks for the input @tolchai! 💚 Just in case other users come through this thread, is worth mentioning that if you have a .npmrc file higher in your local folder structure or a global setting on NPM, that could also cause a similar issue, so if you can't solve it, look i your system's HD and config files for those and remove/edit them in order to have everything working as expected. Happy Tweening!
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