1
我在Ubuntu 16.04上安装了react-native。现在,当我尝试netwrok部分初始化一个项目,它stucks像下面用纱线运行react-native init
[email protected]:~/Dropbox/react-native-projects$ react-native init sadus
This will walk you through creating a new React Native project in /home/user/Dropbox/react-native-projects/sadus
Installing react-native...
Consider installing yarn to make this faster: https://yarnpkg.com
loadDep:yargs -> network/|##########---------------------------------------|
至于建议我试着用sudo npm install -g yarn
安装纱,但它被安装在usr/local/lib
所以当我运行react-native init ProjectName
它仍然要求我安装的纱线。
所以,请帮我