Tag: 守望者

看守:加载共享库时出错:libpcre.so.1

我在Ubuntu 15.10上,并且正在使用react-native(0.20.0)开发一个Android(SDK 23)应用程序。 我正在使用节点5.6.0和npm 3.6.0。 运行react-native start时遇到了一个守望者错误 ERROR watchman–no-pretty get-sockname returned with exit code 127 watchman: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory at ChildProcess.<anonymous> (/home/rachael/Dev/InstaGo/node_modules/fb-watchman/index.js:198:18) at emitTwo (events.js:100:13) at ChildProcess.emit (events.js:185:7) at maybeClose (internal/child_process.js:827:16) at Socket.<anonymous> (internal/child_process.js:319:11) at emitOne (events.js:90:13) at Socket.emit (events.js:182:7) at Pipe._onclose […]

watchman.plist权限在运行react-native初始项目时被拒绝

我开始使用react-native,然后我按照网站上的教程,但是运行示例项目时,它在terminal上返回了一些错误消息: Looking for JS files in /Users/username/Desktop/nativeTest/BookSearch [06:03:00] <START> Building Dependency Graph [06:03:00] <START> Crawling File System [06:03:00] <START> Loading bundles layout [06:03:00] <END> Loading bundles layout (0ms) React packager ready. 2015-12-13T06:03:01,281: [cli] Failed to open /Users/username/Library/LaunchAgents/com.github.facebook.watchman.plist for write: Permission denied 2015-12-13T06:03:01,281: [cli] Failed to open /Users/username/Library/LaunchAgents/com.github.facebook.watchman.plist for write: Permission denied Watchman: watchman–no-pretty get-sockname returned […]