2016-03-24 20 views
2

私は3ヶ月以来、反応しているネイティブのアプリに取り組んでおり、現在はv0.21を使用しています。変数を見つけることができません:Store

は、バグを修正するために、アプリをアップグレードしようとする試みで、I:

  • package.json
  • に何らかの変化がV0を得るためにnpm update -g react-native-cliを走ったnpm install
  • を走ったメイドbrew update && brew upgrade
  • を走りました.1.10ローカル

この時点で私は彼はアプリが、いずれかのiOSやAndroidで、私は同じエラーを持っている: React native bug

だから論理的に私は私のnode_modulesフォルダを削除、バックorigin/masterになった、と反応するネイティブ-cliのv0.1.7を再インストール..しかし、私は同じエラーを持っている!

マイpackage.jsonは以下のようになります。

{ 
    "name": "XXXXXX", 
    "version": "0.0.1", 
    "private": true, 
    "dependencies": { 
    "awesome-phonenumber": "^1.0.10", 
    "buffer": "^3.6.0", 
    "immutable": "^3.7.6", 
    "react-native": "^0.21.0", 
    "react-native-animatable": "^0.5.0", 
    "react-native-blur": "^0.7.10", 
    "react-native-button": "^1.3.1", 
    "react-native-code-push": "^1.5.3-beta", 
    "react-native-date": "^1.0.3", 
    "react-native-device-info": "^0.6.0", 
    "react-native-drawer-layout": "^0.4.0", 
    "react-native-facebook-ios": "file:lib/react-native-facebook-ios", 
    "react-native-facebook-login": "^1.0.2", 
    "react-native-floating-label-text-input": "0.0.8", 
    "react-native-google-places-autocomplete": "^1.1.6", 
    "react-native-material-kit": "^0.2.4", 
    "react-native-modalbox": "^1.3.1", 
    "react-native-onesignal": "file:lib/react-native-onesignal", 
    "react-native-parallax": "^0.2.2", 
    "react-native-parallax-scroll-view": "^0.16.17", 
    "react-native-router-flux": "^2.2.6", 
    "react-native-scrollable-tab-view": "^0.3.5", 
    "react-native-sync-now-android": "file:lib/react-native-sync-now-android", 
    "react-native-sync-now-ios": "file:lib/react-native-sync-now-ios", 
    "react-native-timer-ios": "file:lib/react-native-timer-ios", 
    "react-native-twitter-ios": "file:lib/react-native-twitter-ios", 
    "react-native-twitter-login": "0.0.2", 
    "react-native-utils": "^1.0.1", 
    "react-native-vector-icons": "^1.0.3", 
    "react-native-webrtc": "^0.1.5", 
    "react-redux": "^3.1.0", 
    "redux": "^3.0.2", 
    "redux-logger": "^2.0.1", 
    "redux-thunk": "^1.0.0", 
    "rnpm": "^1.4.1" 
    }, 
    "scripts": { 
    "start": "react-native start", 
    "postinstall": "sh scripts/postinstall.sh" 
    }, 
    "devDependencies": { 
    "react-native-cli": "^0.1.7" 
    } 
} 

私は、私はそれらを更新した後、すべてが起こったため、問題は私のツールのバージョンであると確信していると、コードはここで同じ

ありますバージョン:

  • Watchman 4.4.0
  • Flow 0.22.1
  • react-native-cli 0.1.7

誰かがこれで私を助けることができますか?

答えて

2

修正済み!私はパッケージャをアップグレードしておく必要がありますので

、それは好きではなかった:

export default variable = {}; 

それは好む:

const variable = {}; 
export default variable; 

失われた24時間をこの上...

関連する問題