Environment:
OS: Windows 10
Node: 8.11.4
Yarn: 1.9.4
npm: 5.6.0
Watchman: Not Found
Xcode: N/A
Android Studio: Version 3.1.0.0 AI-173.4907809
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.56.0 => 0.56.0

try deleting node_modules and clearing cache ,then install dependencies and run the bundle.If issue not resolved after all this, then try to deprecate the react-native version according to codes and syntax you have used, hope that will fix the issue.
try all method you mention the errors still occured
please try 0.57.rc3.
Please open again. I'm havent verify it yet.
actually this is a duplicate, you can search the issue.
thank you