我已成功安裝BREW,節點4.0+,守衛人員,流程,我收到了以下的時候我NPM安裝-g反應母語-CLI:-bash:反應母語:找不到命令
/Users/home/.node/bin/react-native -> /Users/home/.node/lib/node_modules/react-native-cli/index.js
[email protected] /Users/home/.node/lib/node_modules/react-native-cli
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
所以我認爲react-native-cli也已經成功安裝。然而,當我運行反應本地的,它說
-bash: react-native: command not found
我的節點版本是4.2.1,守望3.9,BREW 0.9.5(GIT 7ed6)和NPM 2.14.7
*** react-native:command not found。*** http://stackoverflow.com/questions/37189081/react-native-command-not-found –