mac全局安装yarn

mac全局安装 yarn
sodu -s
npm install -g yarn react-native-cli      
mac报错无权限
sudo chown -R $USER:$GROUP ~/.config

你可能感兴趣的:(笔记)