Clear previous setting

1
2
rm yarn.lock
rm -rf node_modules

Set correct yarn config

1
2
yarn config set registry https://registry.npmjs.org
yarn install