title: react import error in visual studio code, it automatically added long path
body: <p><img src="https://i.stack.imgur.com/dfQ8M.png" alt="react import  error in visual studio code"></p>
  
  <p><img src="https://i.stack.imgur.com/tVEez.png" alt="react Failed to compile"></p>
  
  <pre><code>import React, { Component } from 'react'
  import PropTypes from 'C:/Users/appsmaster/AppData/Local/Microsoft/TypeScript/2.9/node_modules/@types/prop-types'
  </code></pre>
  
  <p><strong>Error:</strong></p>
  
  <blockquote>
    <p>./src/components/footer/index.js
    Module not found: Can't resolve 'C:/Users/appsmaster/AppData/Local/Microsoft/TypeScript/2.9/node_modules/@types/prop-types' in </p>
  </blockquote>