2017-05-17 71 views
2

我正尝试在我的react-native应用程序中使用winston,以便在运行时记录错误和其他内容。但安装温斯顿后,它给了我以下错误使用winston登录react-native

`Unable to resolve module crypto 
Unable to resolve module cycle 
Unable to resolve module fs` 

温斯顿是甚至兼容react-native?

回答

0

因此,我发现Winston在反应本机中不受支持。所以,现在我已经实现了一个定制的日志系统。

回答了这个问题,以便没有人浪费时间与温斯顿如果工作反应原生