App crashes on the first launch after update from 2.2.10 to 2.28.0.
On the second launch app works fine.
react-native: 0.55.4
macOS: 10.14.5
POST http://192.168.42.36:8083/create_realm net::ERR_EMPTY_RESPONSE.


It seems that condition on this line is incorrect.
some additional notes related this issue:
https://github.com/realm/realm-js/issues/578#issuecomment-499123822
I am seeing iOS crashes on createDirectoryAtPath.
"react": "^16.8.6",
"react-native": "0.59.9",
"realm": "^2.28.1",
Adding the missing not sign "!" fixes.
NSError *error = nil;
if (![manager createDirectoryAtPath:docsDir withIntermediateDirectories:YES attributes:nil error:&error]) {
throw std::runtime_error(util::format("Failed to create directory \"%1\": %2", docsDir.UTF8String, error_description(error).UTF8String));
}