Open KG204 opened 5 years ago
Specifically referring to init.js script
Metro can be extremely frustrating ...
Upgrading react-native is a little bit more involved than it may seem for two reasons:
I will upgrade eventually, but I am not sure it will work with your timeframe.
I don't have a Windows machine unfortunately so I can't debug this, but have you tried simple/obvious hacks like creating a file called AccessibilityInfo.js
and throwing it in node_modules
?
From the link above, it's not so much about AcessibilityInfo, it's just the first one in a list of dependencies that are tried to resolve.
I will set up a VM with Linux to test 0.56.0 to see if I can use that for bundling,
Others have had success just using webpack instead of metro -- you could see if that works also.
I'm trying to integrate a library that uses websocket communication, and I've been running into issues integrating it with LiquidCore-Cli.
Specifically, I get a AccessibilityInfo is not found in Haste module. I think it's related to this bug here: https://github.com/facebook/react-native/issues/19953 Which seems to have been resolved in earlier and later versions of react-native, just broken on 0.56 on Windows.