Hi all,
After numerous attempts to get our Bitbucket CI/CD working with .npmrc / .yarnrc config files, I am explicitly setting the config in our install.sh script:
yarn config set @gsap:registry https://npm.greensock.com
yarn config set //npm.greensock.com/:_authToken xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
yarn install
When it runs it shows that the config is applied, but the download is refused with a 403 error:
yarn config v1.22.19
success Set "@gsap:registry" to "https://npm.greensock.com".
Done in 0.05s.
yarn config v1.22.19
success Set "//npm.greensock.com/:_authToken" to "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx".
Done in 0.05s.
yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
error An unexpected error occurred: "https://npm.greensock.com/@gsap%2fbusiness/-/business-3.12.2.tgz: Request failed \"403 Forbidden\"".
Does anyone have an idea how to get it to work?
We have a valid business license, and locally it works fine.
Thanks so much,
Menno