我尝试在我的react-native应用程序中使用winston来记录运行时的错误和其他事情。但安装winston后,它给了我以下错误
`Unable to resolve module crypto Unable to resolve module cycle Unable to resolve module fs`
winston能兼容react-native吗?
pkln4tw61#
所以,我发现react native不支持winston。所以,现在我实现了一个定制的日志系统。回答了这个问题,这样如果在react native上工作,就不会有人在winston上浪费时间
1条答案
按热度按时间pkln4tw61#
所以,我发现react native不支持winston。所以,现在我实现了一个定制的日志系统。
回答了这个问题,这样如果在react native上工作,就不会有人在winston上浪费时间