title: React Native Syntax Error: Unexpected Token, expected }
body: <p>An error <code>Unexpected token, expected }</code> suddenly appeared without a clear cause.</p>
  
  <p><a href="https://i.stack.imgur.com/8ZqAW.png" rel="noreferrer"><img src="https://i.stack.imgur.com/8ZqAW.png" alt="enter image description here"></a></p>
  
  <p>Line 136:7 is right where it says master: {</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>const styles = StyleSheet.create({
   master: {
    flex: 1,
    justifyContent: 'center',
    flexDirection: 'row',
    alignItems: 'center',
    flexWrap: 'wrap'
   }
  });</code></pre>
  </div>
  </div>
  </p>
  
  <p>It was working fine before. I have tried: </p>
  
  <pre><code>rm -rf node_modules &amp;&amp; npm install
  npm start -- --reset-cache
  </code></pre>
  
  <p>No changes from either of those.</p>