Reactjs react-native init在windows上不适用于react-native 0.57.1

Reactjs react-native init在windows上不适用于react-native 0.57.1,reactjs,react-native,react-native-cli,Reactjs,React Native,React Native Cli,我正在windows 10上使用react-native cli 2.0.1和react-native 0.57.1 但是,当我使用react native init projectname创建项目并尝试使用react native run android运行它时,会出现以下错误: 除了第一步之外,我尝试了它提到的步骤,因为当我尝试运行它时,我只得到了watchman:command not found。尝试这样做 rm -rf node_modules npm install 纱线添加@b

我正在windows 10上使用react-native cli 2.0.1和react-native 0.57.1

但是,当我使用react native init projectname创建项目并尝试使用react native run android运行它时,会出现以下错误:

除了第一步之外,我尝试了它提到的步骤,因为当我尝试运行它时,我只得到了watchman:command not found。

尝试这样做

rm -rf node_modules
npm install

纱线添加@babel/runtime

这将解决问题。

我做了,但仍然不起作用。除了第一步,我尝试了图像中错误提到的所有步骤。