React-Native构建sdk jitsi会议抛出错误,构建失败

时间:2020-04-23 17:42:30

标签: react-native

我尝试从github构建jitsi Meeting sdk并收到此错误:

Task :sdk:bundleReleaseJsAndAssets
warning: the transform cache was reset.
jest-haste-map: Watchman crawl failed. Retrying once with node crawler.
  Usually this happens when watchman isn't running. Create an empty `.watchmanconfig` file in your project's root folder or initialize a git or hg repository in your project.
  Error: Watchman error: A non-recoverable condition has triggered.  Watchman needs your help!
The triggering condition was at timestamp=1587663118: inotify-add-watch(/home/xxx/Desktop/jitsi-meet-master/node_modules/component-cookie) -> The user limit on the total number of inotify watches was reached; increase the fs.inotify.max_user_watches sysctl
All requests will continue to fail with this message until you resolve
the underlying problem.  You will find more information on fixing this at
https://facebook.github.io/watchman/docs/troubleshooting.html#poison-inotify-add-watch. Make sure watchman is running for this project. See https://facebook.github.io/watchman/docs/troubleshooting.html.
events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: A non-recoverable condition has triggered.  Watchman needs your help!
The triggering condition was at timestamp=1587663118: inotify-add-watch(/home/xxx/Desktop/jitsi-meet-master/node_modules/component-cookie) -> The user limit on the total number of inotify watches was reached; increase the fs.inotify.max_user_watches sysctl
All requests will continue to fail with this message until you resolve
the underlying problem.  You will find more information on fixing this at
https://facebook.github.io/watchman/docs/troubleshooting.html#poison-inotify-add-watch

    at ChildProcess.<anonymous> (/home/xxx/Desktop/jitsi-meet-master/node_modules/fb-watchman/index.js:207:21)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Socket.stream.socket.on (internal/child_process.js:346:11)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at Pipe._handle.close [as _onclose] (net.js:567:12)

> Task :sdk:bundleReleaseJsAndAssets FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sdk:bundleReleaseJsAndAssets'.
> Process 'command 'node'' finished with non-zero exit value 1

从命令构建sdk:./android/scripts/release-sdk.sh / tmp / repo

我什么都没做,在新的OS上克隆了jitsi。 我的操作系统是薄荷 npm,git,maven,watchman,yarn,jdk,sdk,android studio等安装了新的操作系统,但我不知道为什么会显示此错误。 我使用的某些方法(参考):

https://github.com/facebook/watchman/issues/731

0 个答案:

没有答案
相关问题