After doing averything according to https://facebook.github.io/react-native/docs/getting-started , with an android studio emulator, and creating a template app with "react-native init myApp", i get this error:
Error: Unable to resolve module `./index` from `C:\Users\Oleg\Desktop\progStuff\SSFD2\node_modules\react-native\scripts/.`: The module `./index` could not be found from `C:\Users\Oleg\Desktop\progStuff\SSFD2\node_modules\react-native\scripts/.`. Indeed, none of these files exist:
* `C:\Users\Oleg\Desktop\progStuff\SSFD2\node_modules\react-native\scripts\index(.native||.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)`
* `C:\Users\Oleg\Desktop\progStuff\SSFD2\node_modules\react-native\scripts\index\index(.native||.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)`
at ModuleResolver.resolveDependency (C:\Users\Oleg\Desktop\progStuff\SSFD2\node_modules\metro\src\node-haste\DependencyGraph\ModuleResolution.js:163:15)
at ResolutionRequest.resolveDependency (C:\Users\Oleg\Desktop\progStuff\SSFD2\node_modules\metro\src\node-haste\DependencyGraph\ResolutionRequest.js:52:18)
at DependencyGraph.resolveDependency (C:\Users\Oleg\Desktop\progStuff\SSFD2\node_modules\metro\src\node-haste\DependencyGraph.js:283:16)
at C:\Users\Oleg\Desktop\progStuff\SSFD2\node_modules\metro\src\lib\transformHelpers.js:261:42
at Server.<anonymous> (C:\Users\Oleg\Desktop\progStuff\SSFD2\node_modules\metro\src\Server.js:1038:41)
at Generator.next (<anonymous>)
at asyncGeneratorStep (C:\Users\Oleg\Desktop\progStuff\SSFD2\node_modules\metro\src\Server.js:99:24)
at _next (C:\Users\Oleg\Desktop\progStuff\SSFD2\node_modules\metro\src\Server.js:119:9)
::ffff:127.0.0.1 - - [24/Mar/2019:08:18:16 +0000] "GET /index.delta?platform=android&dev=true&minify=false HTTP/1.1" 500 - "-" "okhttp/3.12.1"
Out of all the things i tried, including re-initializing the project, re-checking that i have everything installed and up-to-date, reinstalling some stuff, the only one that worked was using 0.58.6 version of react-native, it works fine. But i don't like that solution and want to use the latest version.