如何升级以响应本机0.59?

时间:2019-03-07 20:03:43

标签: reactjs react-native

the docs上说:

  

要对其进行测试,请运行react-native初始化RN059 --version react-native @ next

但是在哪里以及如何?

如果我在终端上输入,我将得到:

react-native : The term 'react-native' is not recognized 
as the name of a cmdlet, function, script file, or 
operable program. Check the spelling of the name, or if 
a path was included, verify that the path is correct and 
try again.
At line:1 char:1
+ react-native init RN059 --version react-native@next
+ ~~~~~~~~~~~~
+ CategoryInfo          : ObjectNotFound: (react-nat 
ive:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

那该怎么办? :(

1 个答案:

答案 0 :(得分:0)