gpt4 book ai didi

android - React-Native 无法构建 DependencyGraph : Watchman error

转载 作者:行者123 更新时间:2023-11-29 14:46:05 24 4
gpt4 key购买 nike

当我想在 Android 模拟器上运行我的项目时出现此错误。

[Hot Module Replacement] Server listening on /hot

React packager ready.

Failed to build DependencyGraph: Watchman error: query failed: synchronization failed: Permission denied. Make sure watchman is running for this project. See https://facebook.github.io/watchman/docs/troubleshooting.html.
Error: Watchman error: query failed: synchronization failed: Permission denied. Make sure watchman is running for this project. See https://facebook.github.io/watchman/docs/troubleshooting.html.
at /Users/Ali/Desktop/app/Test/node_modules/react-native/node_modules/node-haste/lib/crawlers/watchman.js:63:11
at process._tickCallback (node.js:368:9)

我尝试了“watchman watch ~path”、“sudo”和“chmod”,但它们没有帮助我。

有人可以给我建议吗?

最佳答案

通过重装watchman解决

brew update
brew reinstall watchman

关于android - React-Native 无法构建 DependencyGraph : Watchman error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37370949/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com