作者:1471446448_9c38cc | 来源:互联网 | 2023-02-03 17:38
我试图在我的react-native应用程序中使用winston来记录运行时的错误和其他事情.但在安装winston后,它给了我以下错误
`Unable to resolve module crypto
Unable to resolve module cycle
Unable to resolve module fs`
winston甚至与反应本机兼容吗?
1> Prakash..:
因此,我发现react native不支持Winston。因此,现在我已经实现了定制的日志记录系统。
回答了这个问题,这样就不会有人在Winston上浪费时间在本机上工作