小编ali*_*ian的帖子

React-Native 无法构建 DependencyGraph:Watchman 错误

当我想在 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)
Run Code Online (Sandbox Code Playgroud)

我试过 "watchman watch ~path" , "sudo" & "chmod" 但他们没有帮助我。

有人可以建议我吗?

android watchman react-native

4
推荐指数
2
解决办法
6743
查看次数

标签 统计

android ×1

react-native ×1

watchman ×1