2016-08-11 157 views
0

我正在編輯我的路徑變量,不知怎的,我一定得到了path-environment(環境變量)的反應 - 本地丟失。當我嘗試使用react-native run-android時出現以下錯誤'react-native' is not recognized as an internal or external command, operable program or batch file.react-native需要什麼環境變量?

我認爲這必須是環境變量問題。 我嘗試卸載並重新安裝,但沒有幫助。 我已經搜索了關於我的問題,但沒有幫助。

如果任何人都可以共享環境變量,或者他懷疑別的東西是我的問題,我真的很感謝你指出一些方向。

回答

0

找到丟失的路徑。對於任何可能涉及的人來說都是C:\Users\<user>\AppData\Roaming\npm