title: Failure to compile on react native
body: <p>So I've been trying to run my react native code but it keeps coming up with different errors. I've managed to solve them from solutions I found online but I can't seem to find this particular problem.</p>
  <p>When I run <code>react-native run-android</code> I get this error</p>
  <pre><code>Failed to compile.
  C:/Users/Stephen Murya/Desktop/dev/react-native/FaceAttendance/node_modules/react-native/Libraries/Components/UnimplementedViews/UnimplementedView.js
  Module not found: Can't resolve 'StyleSheet' in 'C:\Users\Stephen Murya\Desktop\dev\react-native\FaceAttendance\node_modules\react-native\Libraries\Components\UnimplementedViews'
  Error from chokidar (C:\): Error: EBUSY: resource busy or locked, lstat 'C:\DumpStack.log.tmp'
  Error from chokidar (C:\node_modules): Error: EBUSY: resource busy or locked, lstat 'C:\DumpStack.log.tmp' 
  </code></pre>
  <p>This is the content of the js file in UnimplementedViews</p>
  <pre><code>/**
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   *
   * @flow strict-local
   * @format
   */
  'use strict';
  
  const React = require('React');
  const StyleSheet = require('StyleSheet');
  
  /**
   * Common implementation for a simple stubbed view. Simply applies the view's styles to the inner
   * View component and renders its children.
   */
  class UnimplementedView extends React.Component&lt;$FlowFixMeProps&gt; {
    setNativeProps() {
      // Do nothing.
      // This method is required in order to use this view as a Touchable* child.
      // See ensureComponentIsNative.js for more info
    }
  
    render() {
      // Workaround require cycle from requireNativeComponent
      const View = require('View');
      return (
        &lt;View style={[styles.unimplementedView, this.props.style]}&gt;
          {this.props.children}
        &lt;/View&gt;
      );
    }
  }
  
  const styles = StyleSheet.create({
    unimplementedView: __DEV__
      ? {
          alignSelf: 'flex-start',
          borderColor: 'red',
          borderWidth: 1,
        }
      : {},
  });
  
  module.exports = UnimplementedView;
  </code></pre>
  <p>I don't know what seems to be the problem here</p>