2017-07-12 11 views
0

私は新しい反応ネイティブアプリケーションを開発しています。エキスポから出発して、それを使用しています。新しいコンピュータで反応するネイティブアプリを実行する

私はソース管理のものを持っていて、それをMacで開いたばかりです。私はnpm installを行うと私はbarcocdeが表示されたnpm startをしましたが、その後ビルドは5分かかったし、電話(タイムアウト)にロードに失敗した場合には、以下が

npm WARN [email protected] requires a peer of [email protected]>=15.4.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]>=15.3.1 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]>=15.4.0 but none was installed 
npm WARN [email protected] requires a peer of [email protected]^0.13.0 || ^0.14.0 || ^15.0.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]^15.4.2 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]^15.6.1 but none was installed. 

を警告し得ます。

再ビルドを促すために空白のファイルを変更しました。これは

私が誤解するために管理しているどのようなものなパッケージ管理について/反応し、ネイティブ/反応
16:23:59: Warning: Failed prop type: Invalid prop `flex` of type `function` supplied to `View`, expected `number`. 
Bad object: {} 

...瞬時に起こったが、電話でオフラインに沿ってエラーを得ましたか。それが動作するマシンは、非動作マシンがMac miniです。

私のpackage.jsonはこのようです。

{ 
    "name": "super-app", 
    "version": "0.1.0", 
    "private": true, 
    "devDependencies": { 
    "babel-jest": "19.0.0", 
    "babel-preset-react-native": "1.9.1", 
    "jest": "19.0.2", 
    "jest-react-native": "^18.0.0", 
    "react-test-renderer": "~15.4.1", 
    "lodash.isequal": "^4.5.0", 
    "react-addons-pure-render-mixin": "^15.4.2", 
    "react-dom": "^15.4.2", 
    "react-native-experimental-navigation": "0.26.x", 
    "react-native-tabs": "^1.0.9", 
    "react-static-container": "1.0.1", 
    "react-native-scripts": "0.0.40", 
    "jest-expo": "~18.0.0" 
    }, 
    "main": "./node_modules/react-native-scripts/build/bin/crna-entry.js", 
    "scripts": { 
    "start": "react-native-scripts start", 
    "eject": "react-native-scripts eject", 
    "android": "react-native-scripts android", 
    "ios": "react-native-scripts ios", 
    "test": "node node_modules/jest/bin/jest.js --watch" 
    }, 
    "jest": { 
    "preset": "jest-expo" 
    }, 
    "dependencies": { 
    "apsl-react-native-button": "^3.0.2", 
    "expo": "^18.0.3", 
    "react": "16.0.0-alpha.12", 
    "react-native": "0.45.0", 
    "react-native-button": "^1.8.2", 
    "react-native-drawer": "^2.3.0", 
    "react-native-router-flux": "^3.39.1" 
    } 
} 

答えて

1

brew install yarn幸いな日です。

このエコシステムで未知の可動部分のウェブではまだ失われていると感じる!

関連する問題