在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
那该怎么办? :(
答案 0 :(得分:0)