Error: `fsevents` unavailable (this watcher can only be used on Darwin)

react native环境跑不起来,终端报

Error: `fsevents` unavailable (this watcher can only be used on Darwin)

后面查找到原因watchman版本过旧或者错误,重新安装了watchman

npm r -g watchman
brew install watchman

你可能感兴趣的:(Error: `fsevents` unavailable (this watcher can only be used on Darwin))