Logging in react-native using winston

Viewed 2266

I am trying to use winston in my react-native app for logging errors and other things in runtime. But after installing winston it gives me following error

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

Is winston even compatible with react-native?

1 Answers

So, I found out that winston is not supported in react native. So, now i have implemented a customised logging system.

Answered this so that no one wastes there time with winston if working on react native

Related