3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

expo startの初回実行時に出たエラーの解決法

Posted at

背景

expoの公式ドキュメントに沿って環境構築中に、npx expo startを実行すると以下のエラーが発生した。

Error: EMFILE: too many open files, watch
    at FSEvent.FSWatcher._handle.onchange (node:internal/fs/watchers:207:21)

解決法

node_modulesを削除。

rm -rf node_modules

依存関係の再インストールを行う。

npm install

再度起動。

npx expo start

上記実行すると無事起動が確認できた!

参考文献

3
2
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
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?