I have been stuck for two days now, I am trying to setup react-native
, everything is in place: Up to-date Android Studio, Genymotion, paths and I followed all the guidance on https://facebook.github.io/react-native/docs/getting-started.html.
When I run "react-native run-android"
or "react-native start"
, I get the following error:
C:\Users\Pc\Desktop\Bot>react-native run-android The system cannot find the path specified. child_process.js:512 throw err; ^
Error: Command failed: C:\Users\Pc\Desktop\Bot\node_modules\react-native\local-cli\setup_env.bat The system cannot find the path specified.
at checkExecSyncError (child_process.js:489:13)
at Object.execFileSync (child_process.js:509:13)
at Object.run (C:/Users/Pc/Desktop/Bot/node_modules/react-native/local-cli/cliEntry.js:136:16)
at Object.<anonymous> (C:\Users\Pc\AppData\Roaming\npm\node_modules\react-native-cli\index.js:117:7)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
C:\Users\Pc\Desktop\Bot>react-native start The system cannot find the path specified. child_process.js:512 throw err; ^
Error: Command failed: C:\Users\Pc\Desktop\Bot\node_modules\react-native\local-cli\setup_env.bat The system cannot find the path specified.
at checkExecSyncError (child_process.js:489:13)
at Object.execFileSync (child_process.js:509:13)
at Object.run (C:/Users/Pc/Desktop/Bot/node_modules/react-native/local-cli/cliEntry.js:136:16)
at Object.<anonymous> (C:\Users\Pc\AppData\Roaming\npm\node_modules\react-native-cli\index.js:117:7)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)