https://s3-us-west-2.amazonaws.com/secure.notion-static.com/f87e1d54-6924-477b-a932-e39e4a4af73d/KakaoTalk_Photo_2020-05-29-01-45-14.jpeg

설치하려던 이유

Elements를 자세히 살펴보고 싶었지만, 핸드폰 화면으로 보기에는 아무래도 작아서 이번에 react-native-debugger를 설치해보려고 한다.

설치되어 있는 react-native 버전

react-native-cli: 2.0.1
react-native: 0.61.4

설치 방법

터미널에 명령어 실행

brew update && brew cask install react-native-debugger

설치를 하고, 실행을 해볼까...?

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/74bfc867-b441-4172-af6f-995d92b3b715/_2020-05-28__10.54.41.png

하하하.. 실행이 안되네~~~~~~

그럼 그렇지 실행이 될리가 없지!

그래서 시키는대로

DevTools v4 is incompatible with this version of React
Either upgrade React or install React DevTools v3:

명령어 설치

npm install -d react-devtools@^3