WARN [email protected] requires a peer of react@~15.3.1 but none was installed.

496 단어 Androidreact-native
react-native init에서 문제가 발생했습니다.
오류 메시지npm WARN [email protected] requires a peer of react@~15.3.1 but none was installed.
솔루션:
방법1: npm install -save react@~15.3.1방법2: 패키지에서.json에 의존 추가 가능"dependencies": {
"react": "^15.3.2",
"react-native": "^0.35.0",
"react-native-orientation": "^1.17.0",
"react-native-scrollable-tab-view": "^0.6.0",
}

좋은 웹페이지 즐겨찾기