watchman--no-pretty get-sockname returned with exit code 1 ERROR
2016-01-01 11:10
507 查看
React-Native Start的时候遇到的报错
今天在启动React-Native遇到报错信息React packager ready.
ERROR: Unknown option –no-pretty
Watchman: watchman–no-pretty get-sockname returned with exit code 1 ERROR: Unknown option –no-pretty
ERROR watchman–no-pretty get-sockname returned with exit code 1 ERROR: Unknown option –no-pretty
Error: watchman–no-pretty get-sockname returned with exit code 1 ERROR: Unknown option –no-pretty
at ChildProcess.<anonymous> (/home/sreejith/projects/sample/node_modules/react-native/node_modules/sane/node_modules/fb-watchman/index.js:194:18) at emitTwo (events.js:87:13) at ChildProcess.emit (events.js:172:7) at maybeClose (internal/child_process.js:817:16) at Socket.<anonymous> (internal/child_process.js:319:11) at emitOne (events.js:77:13) at Socket.emit (events.js:169:7) at Pipe._onclose (net.js:469:12)
google了好久,总结了一下各种处理方式,最后执行下面的语句搞定:
设置权限
sudochown−R(whoami):admin /usr/local
重新安装watchman
brew uninstall watchman
brew link pcre
brew install –HEAD watchman
相关文章推荐
- 详解HDFS Short Circuit Local Reads
- SQL Server Native Client下载 SQL Server Native Client安装方法
- 超级给力的JavaScript的React框架入门教程
- 由ReactJS的Hello world说开来
- 深入探讨前端框架react
- 深入浅析react native es6语法
- 深入理解JavaScript的React框架的原理
- hadoop安装lzo
- 7月国外最新技术文章翻译汇总(IT技术)
- 【unity】与Android Activity交互并调用JAVA代码传递参数
- 鸟巢-一种全新的Native APP开发模式,这篇文章为您解读
- React Native for Android 官方文档中文版(最新)全国首发
- webpack使用babel 6打包react报错
- 从react来理解learn once write anywhere
- JNI_Java Native Interface
- java Native Method初涉
- ERROR-1:React