[react-native][expo] Error: react-native is not installed. Please run npm install or yarn in your project directory.

less than 1 minute read

npm start를 입력해줄 때 다음과 같은 에러메세지가 발생하는 경우가 있다.

npm start
Error: react-native is not installed. Please run `npm install` or `yarn` in your project directory.

해결방법: 아래와 같이 재설치해준다.

npm install