Ios 响应本机包管理器问题

Ios 响应本机包管理器问题,ios,react-native,Ios,React Native,我正在使用以下在线教程: 它使用以下项目: 我正在尝试将我现有的iPhone和android应用程序与React Native集成。我在swift网站上使用了该样本,但我无法让npm开始工作。我得到以下错误: [4:38:11 PM] <START> Building Dependency Graph [4:38:11 PM] <START> Crawling File System [Hot Module Replacement] Server listening on

我正在使用以下在线教程:

它使用以下项目:

我正在尝试将我现有的iPhone和android应用程序与React Native集成。我在swift网站上使用了该样本,但我无法让npm开始工作。我得到以下错误:

[4:38:11 PM] <START> Building Dependency Graph
[4:38:11 PM] <START> Crawling File System
[Hot Module Replacement] Server listening on /hot

React packager ready.

2016-09-29 16:38 node[31197] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-09-29 16:38 node[31197] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-09-29 16:38 node[31197] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-09-29 16:38 node[31197] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-09-29 16:38 node[31197] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-09-29 16:38 node[31197] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
ERROR  Error watching file for changes: EMFILE
{"code":"EMFILE","errno":"EMFILE","syscall":"Error watching file for changes:","filename":null}
Error: Error watching file for changes: EMFILE
    at exports._errnoException (util.js:953:11)
    at FSEvent.FSWatcher._handle.onchange (fs.js:1400:11)

See http://facebook.github.io/react-native/docs/troubleshooting.html
for common problems and solutions.

npm ERR! Darwin 16.0.0
npm ERR! argv "/Users/user/.nvm/versions/node/v6.2.0/bin/node" "/Users/user/.nvm/versions/node/v6.2.0/bin/npm" "start"
npm ERR! node v6.2.0
npm ERR! npm  v3.10.5
npm ERR! code ELIFECYCLE
npm ERR! swift-2048@0.0.1 start: `node node_modules/react-native/local-cli/cli.js start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the swift-2048@0.0.1 start script 'node node_modules/react-native/local-cli/cli.js start'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the swift-2048 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node node_modules/react-native/local-cli/cli.js start
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs swift-2048
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls swift-2048
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
如果有必要的话,我也在使用nvm。

您安装了吗?有关macOS依赖项的列表,请参阅

如果有,您可以使用brew install watchman安装它。

您有安装吗?有关macOS依赖项的列表,请参阅

如果有,您可以使用brew install watchman安装它

react-native-cli: 1.0.0
react-native: 0.26.1
node: 6.2.0