0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【React Native】Expo Developer Tools is disconnected from Expo CLI.というエラー

0
Last updated at Posted at 2021-01-16

はじめに

React Nativeの環境構築を公式サイトやUdemyで紹介されている手順通りしようとしたら、
Expo Developer Tools is disconnected from Expo CLI.Use the expo start command to start the CLI again.
というエラーが出てしまい、これを解決するのに少し時間がかかったので共有します。

環境構築

Node.jsをインストールした後、この順番でターミナルを動かしていました。

$npm install --global expo-cli
$expo init my-project

この時点で何となくUdemyの動画と少し違いました。
おそらくReactの環境構築した際に、brewやyarnもインストールしていたのでそれが原因なのではないかと思います。
これでnmp start, yarn start, expo startのどれを実行しても上記のエラーが出てしまいました。

解決方法

$brew update
$brew install watchman

これを実行したらエラーは解決しました。
brewのバージョンが古かったのかもしれません。
また詳しく分かったら共有したいと思います。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?