I use the node: 6.7.0 image as a docker container and then follow the yarn installation guide
sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
Then i do
apt-get update && apt-get install yarn
But at this moment I get an error message that says
yarn : Depends: nodejs (>= 4.0.0) but it is not going to be installed
I repeated node -vbefore installation, and he also says6.7.0
Anything I miss?
source
share