title: UnhandledPromiseRejectionWarning: Error: Cannot find module '/MyProject/node_modules/react-native-scripts/build/scripts/init.js'
body: <p>I'm trying to build a new React Native project with the Facebook React Native tutorial. This command has worked for me before, but all of a sudden I now get this error message.</p>
  
  <pre><code>(node:14866) UnhandledPromiseRejectionWarning: Error: Cannot find module '/MyProject/node_modules/react-native-scripts/build/scripts/init.js'
  at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
  at Function.Module._load (internal/modules/cjs/loader.js:507:25)
  at Module.require (internal/modules/cjs/loader.js:637:17)
  at require (internal/modules/cjs/helpers.js:20:18)
  at _callee2$ (/.config/yarn/global/node_modules/create-react-native-app/build/index.js:128:32)
  at tryCatch (/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:62:40)
  at Generator.invoke [as _invoke] (/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:296:22)
  at Generator.prototype.(anonymous function) [as next] (/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:114:21)
  at step (/.config/yarn/global/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
  at /.config/yarn/global/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
  (node:14866) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
  (node:14866) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
  </code></pre>
  
  <p>I'm not sure what changed, but I'm unable to find a workaround. Can anyone help?</p>
  
  <p>EDIT: The new way to start React Native app is found here: <a href="https://github.com/react-community/create-react-native-app" rel="noreferrer">https://github.com/react-community/create-react-native-app</a></p>
  
  <p>Answer is below.</p>