0

I can't start any CRNA project because it gets stuck at "Starting packager", I tried many projects but the problem still remains. It always gets stuck at "Starting packager..."

I'm using react-native@0.46.4 and expo@19.0.1 on ubuntu 16.04

PS: I even tried a blank project and starter projects so I think the problem is with CRNA itself.

Note npm shows me an unmet dependency error with expo and react:

npm ERR! peer dep missing: react@>=15.3.1, required by lottie-react-native@1.1.1

npm ERR! peer dep missing: react@>=15.4.0, required by react-native-branch@2.0.0-beta.3

I tried these solutions but the problem remains: https://github.com/react-community/create-react-native-app/issues/203

4

1 回答 1

0

通过运行解决了该问题:

sudo sysctl -w fs.inotify.max_user_watches=10000

在运行之前运行此命令npm startyarnpkg start

参考: https ://forums.expo.io/t/packager-not-loading-on-linux/2034

于 2017-08-04T09:22:06.527 回答