The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am getting 401s when trying to install yarn with a bitbucket pipeline. I am trying to install yarn 0.24.4
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 0.24.4 # install yarn
- export PATH=$HOME/.yarn/bin:$PATH
- yarn install --pure-lockfile
- node_modules/.bin/bower install --allow-root
- yarn run test-fast
I am getting these errors in bitbucket pipelines
Request failed \"401 Unauthorized\"". this is using artifactoryonline
I've been doing it this way:
- npm install -g yarn
- yarn install
I'm curious to see if i'm missing something here. Whats the difference between using curl versus npm in this case?